ClientHttpRequest for the Java HttpClient.
| Modifier and Type | Field and Description |
|---|---|
| private final DataBufferFactory | |
| private final java. | |
| private final HttpMethod | |
| private final URI |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | applyCookies()
Implements abstract org. Add cookies from |
| protected void | applyHeaders()
Implements abstract org. Apply header changes from |
| public DataBufferFactory | bufferFactory()
Implements org. Return a |
| public HttpMethod | getMethod()
Implements org. Return the HTTP method of the request. |
| public <T> T | getNativeRequest()
Implements org. Return the request from the underlying HTTP library. |
| public URI | getURI()
Implements org. Return the URI of the request. |
| public Mono | setComplete()
Implements org. Indicate that message handling is complete, allowing for any cleanup or
end-of-processing tasks to be performed such as applying header changes
made via |
| private java. | |
| private ByteBuffer | |
| public Mono | writeAndFlushWith(final Publisher<? extends Publisher<? extends DataBuffer>>
the body content publisher body)Implements org. Use the given |
| public Mono | writeWith(Publisher<? extends DataBuffer>
the body content publisher body)Implements org. Use the given |
| bufferFactory | back to summary |
|---|---|
| private final DataBufferFactory bufferFactory | |
| builder | back to summary |
|---|---|
| private final java. | |
| method | back to summary |
|---|---|
| private final HttpMethod method | |
| uri | back to summary |
|---|---|
| private final URI uri | |
| JdkClientHttpRequest | back to summary |
|---|---|
| public JdkClientHttpRequest(HttpMethod httpMethod, URI uri, DataBufferFactory bufferFactory) | |
| applyCookies | back to summary |
|---|---|
| protected void applyCookies() Implements abstract org. Doc from org. Add cookies from
| |
| applyHeaders | back to summary |
|---|---|
| protected void applyHeaders() Implements abstract org. Doc from org. Apply header changes from
| |
| bufferFactory | back to summary |
|---|---|
| public DataBufferFactory bufferFactory() Implements org. Doc from org. Return a
| |
| getMethod | back to summary |
|---|---|
| public HttpMethod getMethod() Implements org. Doc from org. Return the HTTP method of the request.
| |
| getNativeRequest | back to summary |
|---|---|
| public <T> T getNativeRequest() Implements org. Doc from org. Return the request from the underlying HTTP library.
| |
| getURI | back to summary |
|---|---|
| public URI getURI() Implements org. Doc from org. Return the URI of the request.
| |
| setComplete | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Indicate that message handling is complete, allowing for any cleanup or
end-of-processing tasks to be performed such as applying header changes
made via This method should be automatically invoked at the end of message processing so typically applications should not have to invoke it. If invoked multiple times it should have no side effects. | |
| toBodyPublisher | back to summary |
|---|---|
| private java. | |
| toByteBuffer | back to summary |
|---|---|
| private ByteBuffer toByteBuffer(DataBuffer dataBuffer) | |
| writeAndFlushWith | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Use the given | |
| writeWith | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Use the given | |