Interface RestProvider


  • public interface RestProvider
    The provider interface for the built-in REST API supplied by a REST RA.
    • Method Detail

      • newRequest

        RestRequestBuilder newRequest​(HttpMethod method,
                                      java.net.URI uri)
        Create a new REST request
        Parameters:
        method - the HTTP method for the request
        uri - the request URL
        Returns:
        the new request
      • sendRequest

        OutgoingRestActivity sendRequest​(RestRequest request)
        Send a REST request.
        Parameters:
        request - the request to be sent
        Returns:
        a new activity related to the sent request