ClientHttpRequest and delegates all methods to it.
Subclasses can override specific methods selectively.
| Modifier and Type | Field and Description |
|---|---|
| private final ClientHttpRequest |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | beforeCommit(Supplier<? extends Mono<Void>>
the action to apply action)Implements org. Register an action to apply just before the HttpOutputMessage is committed. |
| public DataBufferFactory | bufferFactory()
Implements org. Return a |
| public MultiValueMap | getCookies()
Implements org. Return a mutable map of request cookies to send to the server. |
| public ClientHttpRequest | |
| public HttpHeaders | getHeaders()
Implements org. Return the headers of this message. |
| 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 boolean | isCommitted()
Implements org. Whether the HttpOutputMessage is committed. |
| 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 |
| public String | |
| public Mono | writeAndFlushWith(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 |
| delegate | back to summary |
|---|---|
| private final ClientHttpRequest delegate | |
| ClientHttpRequestDecorator | back to summary |
|---|---|
| public ClientHttpRequestDecorator(ClientHttpRequest delegate) | |
| beforeCommit | back to summary |
|---|---|
| public void beforeCommit(Supplier<? extends Mono<Void>> action) Implements org. Doc from org. Register an action to apply just before the HttpOutputMessage is committed. Note the supplied action must be properly deferred,
e.g. via | |
| bufferFactory | back to summary |
|---|---|
| public DataBufferFactory bufferFactory() Implements org. Doc from org. Return a
| |
| getCookies | back to summary |
|---|---|
| public MultiValueMap Implements org. Doc from org. Return a mutable map of request cookies to send to the server.
| |
| getDelegate | back to summary |
|---|---|
| public ClientHttpRequest getDelegate() | |
| getHeaders | back to summary |
|---|---|
| public HttpHeaders getHeaders() Implements org. Doc from org. Return the headers of this message.
| |
| 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.
| |
| isCommitted | back to summary |
|---|---|
| public boolean isCommitted() Implements org. Doc from org. Whether the HttpOutputMessage is committed.
| |
| 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. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| 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 | |