public interface HttpRequestFactory
MutableHttpRequest objects.| Modifier and Type | Field and Description | 
|---|---|
| static HttpRequestFactory | INSTANCEThe default  CookieFactoryinstance. | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> MutableHttpRequest<T> | create(HttpMethod httpMethod,
      String uri)Create a new  MutableHttpRequestfor the given method and URI. | 
| <T> MutableHttpRequest<T> | delete(String uri,
      T body)Return a  MutableHttpRequestthat executes anHttpMethod.DELETErequest for the given URI. | 
| <T> MutableHttpRequest<T> | get(String uri)Return a  MutableHttpRequestthat executes anHttpMethod.GETrequest for the given URI. | 
| <T> MutableHttpRequest<T> | head(String uri)Return a  MutableHttpRequestthat executes anHttpMethod.HEADrequest for the given URI. | 
| <T> MutableHttpRequest<T> | options(String uri)Return a  MutableHttpRequestthat executes anHttpMethod.OPTIONSrequest for the given URI. | 
| <T> MutableHttpRequest<T> | patch(String uri,
     T body)Return a  MutableHttpRequestthat executes anHttpMethod.PATCHrequest for the given URI. | 
| <T> MutableHttpRequest<T> | post(String uri,
    T body)Return a  MutableHttpRequestthat executes anHttpMethod.POSTrequest for the given URI. | 
| <T> MutableHttpRequest<T> | put(String uri,
   T body)Return a  MutableHttpRequestthat executes anHttpMethod.PUTrequest for the given URI. | 
static final HttpRequestFactory INSTANCE
CookieFactory instance.<T> MutableHttpRequest<T> get(String uri)
MutableHttpRequest that executes an HttpMethod.GET request for the given URI.T - The Http request typeuri - The URIMutableHttpRequest instance<T> MutableHttpRequest<T> post(String uri, T body)
MutableHttpRequest that executes an HttpMethod.POST request for the given URI.T - The body typeuri - The URIbody - The bodyMutableHttpRequest instance<T> MutableHttpRequest<T> put(String uri, T body)
MutableHttpRequest that executes an HttpMethod.PUT request for the given URI.T - The body typeuri - The URIbody - The bodyMutableHttpRequest instance<T> MutableHttpRequest<T> patch(String uri, T body)
MutableHttpRequest that executes an HttpMethod.PATCH request for the given URI.T - The body typeuri - The URIbody - The bodyMutableHttpRequest instance<T> MutableHttpRequest<T> head(String uri)
MutableHttpRequest that executes an HttpMethod.HEAD request for the given URI.T - The Http request typeuri - The URIMutableHttpRequest instance<T> MutableHttpRequest<T> options(String uri)
MutableHttpRequest that executes an HttpMethod.OPTIONS request for the given URI.T - The Http request typeuri - The URIMutableHttpRequest instance<T> MutableHttpRequest<T> delete(String uri, T body)
MutableHttpRequest that executes an HttpMethod.DELETE request for the given URI.T - The body typeuri - The URIbody - an optional bodyMutableHttpRequest instance<T> MutableHttpRequest<T> create(HttpMethod httpMethod, String uri)
MutableHttpRequest for the given method and URI.T - The Http request typehttpMethod - The methoduri - The URI