ClientHttpRequest implementation based the Java HttpClient.
Created via the JdkClientHttpRequestFactory.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final OutputStreamPublisher. | |
| private static final Set | |
| private final Executor | |
| private final java. | |
| private final HttpMethod | |
| private final Duration | |
| private final URI |
| Access | Constructor and Description |
|---|---|
| public | JdkClientHttpRequest(java.
|
| Modifier and Type | Method and Description |
|---|---|
| private java. | |
| private java. | |
| private static Set | disallowedHeaders()
By default, |
| 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). |
| BYTE_MAPPER | back to summary |
|---|---|
| private static final OutputStreamPublisher. | |
| DISALLOWED_HEADERS | back to summary |
|---|---|
| private static final Set<String> DISALLOWED_HEADERS | |
| executor | back to summary |
|---|---|
| private final Executor executor | |
| httpClient | back to summary |
|---|---|
| private final java. | |
| method | back to summary |
|---|---|
| private final HttpMethod method | |
| timeout | back to summary |
|---|---|
| private final Duration timeout
| |
| uri | back to summary |
|---|---|
| private final URI uri | |
| JdkClientHttpRequest | back to summary |
|---|---|
| public JdkClientHttpRequest(java. | |
| bodyPublisher | back to summary |
|---|---|
| private java. | |
| buildRequest | back to summary |
|---|---|
| private java. | |
| disallowedHeaders | back to summary |
|---|---|
| private static Set By default, | |
| 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). | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | map(int b)
Implements org. Maps a single byte to |
| public ByteBuffer | map(byte[] b, int off, int len)
Implements org. Maps a byte array to |
| ByteBufferMapper | back to summary |
|---|---|
| private ByteBufferMapper() | |
| map | back to summary |
|---|---|
| public ByteBuffer map(int b) Implements org. Doc from org. Maps a single byte to
| |
| map | back to summary |
|---|---|
| public ByteBuffer map(byte[] b, int off, int len) Implements org. Doc from org. Maps a byte array to
| |