ClientHttpRequest implementation based on Jetty's
org.eclipse.jetty.client.HttpClient .
JettyClientHttpRequestFactory
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private final long | |
| private final Request |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected ClientHttpResponse | executeInternal(HttpHeaders
the HTTP headers headers, StreamingHttpOutputMessage.the HTTP body, may be bodynull if no body was setImplements abstract org. Abstract template method that writes the given headers and content to the HTTP request. |
| public HttpMethod | getMethod()
Implements org. Return the HTTP method of the request. |
| public URI | getURI()
Implements org. Return the URI of the request (including a query string if any, but only if it is well-formed for a URI representation). |
| CHUNK_SIZE | back to summary |
|---|---|
| private static final int CHUNK_SIZE | |
| readTimeout | back to summary |
|---|---|
| private final long readTimeout | |
| request | back to summary |
|---|---|
| private final Request request | |
| JettyClientHttpRequest | back to summary |
|---|---|
| public JettyClientHttpRequest(Request request, long readTimeout) | |
| executeInternal | back to summary |
|---|---|
| protected ClientHttpResponse executeInternal(HttpHeaders headers, StreamingHttpOutputMessage. Implements abstract org. Doc from org. Abstract template method that writes the given headers and content to the HTTP request.
| |
| getMethod | back to summary |
|---|---|
| public HttpMethod getMethod() Implements org. Doc from org. Return the HTTP method of the request.
| |
| getURI | back to summary |
|---|---|
| public URI getURI() Implements org. Doc from org. Return the URI of the request (including a query string if any, but only if it is well-formed for a URI representation). | |