Interface RemoteResource

    • Method Detail

      • getCredential

        Credential getCredential()
        Gets the Credential that is set on the network-enabled resource.

        Only applicable if the resource is secured.

        Returns:
        the Credential, or null if there is none
        Since:
        100.0.0
      • setCredential

        void setCredential​(Credential credential)
        Sets a Credential to be used by the network-enabled resource in the event of an authentication challenge. The default credential is null.

        Only applicable if the resource is secured.

        Parameters:
        credential - the Credential to be used for authentication
        Since:
        100.0.0
      • getRequestConfiguration

        RequestConfiguration getRequestConfiguration()
        Gets the RequestConfiguration used to modify the parameters of network requests made by this RemoteResource.
        Returns:
        the RequestConfiguration used to modify network requests
        Since:
        100.0.0
      • getUri

        java.lang.String getUri()
        Gets the URI of this RemoteResource. Typically this is the URI used to instantiate the object.
        Returns:
        the URI of this RemoteResource
        Since:
        100.0.0