Package 

Interface NetworkingModule.UriHandler


  • 
    public interface NetworkingModule.UriHandler
    
                        

    Allows to implement a custom fetching process for specific URIs. It is the handler's job tofetch the URI and return the JS body payload.

    • Method Summary

      Modifier and Type Method Description
      abstract boolean supports(Uri uri, String responseType) Returns if the handler should be used for an URI.
      abstract WritableMap fetch(Uri uri) Fetch the URI and return the JS body payload.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • supports

         abstract boolean supports(Uri uri, String responseType)

        Returns if the handler should be used for an URI.