public interface FirebaseRestNamespaceFactory
FirebaseRestNamespace instances. The implementation will
take care of the configuration of the AsyncHttpClient and
Gson.| Modifier and Type | Method and Description |
|---|---|
FirebaseRestNamespace |
create(java.lang.String namespaceUrl,
java.lang.String accessToken)
Factory method to create a new instance of a
FirebaseRestNamespace for the given URL, using the
provided access token as the auth query parameter. |
FirebaseRestNamespace create(java.lang.String namespaceUrl, java.lang.String accessToken)
FirebaseRestNamespace for the given URL, using the
provided access token as the auth query parameter.namespaceUrl - The URL root URL to the Firebase namespace, i.e. https://myinstance.firebaseio.comaccessToken - The access token to be used for all requests to this namespace. Value can be nullFirebaseRestNamespace representing the namespace of the given URL