Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.http.client
Interface ClientHttpRequestFactory

All Known Implementing Classes:
  AbstractClientHttpRequestFactoryWrapper, BufferingClientHttpRequestFactory, CommonsClientHttpRequestFactory, HttpComponentsClientHttpRequestFactory, InterceptingClientHttpRequestFactory, SimpleClientHttpRequestFactory

    public interface ClientHttpRequestFactory

Factory for `ClientHttpRequest` objects. Requests are created by the `createRequest(URI, HttpMethod)` method.

Since:
  3.0
Author:
  Arjen Poutsma

Method Summary
`ClientHttpRequest` | `createRequest(java.net.URI uri, HttpMethod httpMethod)` Create a new `ClientHttpRequest` for the specified URI and HTTP method.

Method Detail

### createRequest

    ClientHttpRequest createRequest(java.net.URI uri,
                                    HttpMethod httpMethod)
                                    throws java.io.IOException

  Create a new `ClientHttpRequest` for the specified URI and HTTP method.

  The returned request can be written to, and then executed by calling `ClientHttpRequest.execute()`.

  Parameters:
    `uri` - the URI to create a request for
    `httpMethod` - the HTTP method to execute
  Returns:
    the created request
  Throws:
    `java.io.IOException` - in case of I/O errors

Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD