public abstract class AbstractClientHttpRequest extends Object implements ClientHttpRequest
ClientHttpRequest implementations.| Constructor and Description |
|---|
AbstractClientHttpRequest() |
AbstractClientHttpRequest(HttpHeaders headers) |
| Modifier and Type | Method and Description |
|---|---|
protected reactor.core.publisher.Mono<Void> |
applyBeforeCommit() |
void |
beforeCommit(Supplier<? extends reactor.core.publisher.Mono<Void>> action)
Register an action to be applied just before the message is committed.
|
MultiValueMap<String,HttpCookie> |
getCookies()
Return a mutable map of request cookies to send to the server.
|
HttpHeaders |
getHeaders()
Return the headers of this message.
|
protected abstract void |
writeCookies() |
protected abstract void |
writeHeaders() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMethod, getURIbufferFactory, setComplete, writeAndFlushWith, writeWithpublic AbstractClientHttpRequest()
public AbstractClientHttpRequest(HttpHeaders headers)
public HttpHeaders getHeaders()
HttpMessagegetHeaders in interface HttpMessagenull)public MultiValueMap<String,HttpCookie> getCookies()
ClientHttpRequestgetCookies in interface ClientHttpRequestprotected reactor.core.publisher.Mono<Void> applyBeforeCommit()
public void beforeCommit(Supplier<? extends reactor.core.publisher.Mono<Void>> action)
ReactiveHttpOutputMessagebeforeCommit in interface ReactiveHttpOutputMessageaction - the actionprotected abstract void writeHeaders()
protected abstract void writeCookies()