Package com.opencloud.slee.rest.common
Interface RestProvider
-
public interface RestProvider
The provider interface for the built-in REST API supplied by a REST RA.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RestRequestBuilder
newRequest(HttpMethod method, java.net.URI uri)
Create a new REST requestOutgoingRestActivity
sendRequest(RestRequest request)
Send a REST request.
-
-
-
Method Detail
-
newRequest
RestRequestBuilder newRequest(HttpMethod method, java.net.URI uri)
Create a new REST request- Parameters:
method
- the HTTP method for the requesturi
- 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
-
-