Publisher.
Typically implemented by an HTTP request on the client-side or an HTTP response on the server-side.
| Modifier and Type | Method and Description |
|---|---|
| public void | beforeCommit(Supplier<? extends Mono<Void>>
the action to apply action)Register an action to apply just before the HttpOutputMessage is committed. |
| public DataBufferFactory | Returns: a buffer factoryReturn a |
| public boolean | |
| public Mono | Returns: aMono that indicates completion or errorIndicate 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 Mono | Returns: aMono that indicates completion or errorthe body content publisher body)Use the given |
| public Mono | Returns: aMono that indicates completion or errorthe body content publisher body)Use the given |
| beforeCommit | back to summary |
|---|---|
| public void beforeCommit(Supplier<? extends Mono<Void>> action) 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() Return a
| |
| isCommitted | back to summary |
|---|---|
| public boolean isCommitted() Whether the HttpOutputMessage is committed. | |
| setComplete | back to summary |
|---|---|
| public Mono 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. | |
| writeAndFlushWith | back to summary |
|---|---|
| public Mono Use the given | |
| writeWith | back to summary |
|---|---|
| public Mono Use the given
| |