ServerHttpRequest to the Reactor HttpServerRequest.
| Modifier and Type | Field and Description |
|---|---|
| private final NettyDataBufferFactory | |
| private static final Log | |
| private static final AtomicLong | |
| private final HttpServerRequest |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Flux | getBody()
Implements org. Publisher.
|
| public InetSocketAddress | getLocalAddress()
Overrides default org. |
| public <T> T | getNativeRequest()
Implements abstract org. |
| public InetSocketAddress | getRemoteAddress()
Overrides default org. |
| protected MultiValueMap | initCookies()
Implements abstract org. HttpCookie map.
|
| protected String | initId()
Overrides org. null in which case the Object
identity of this request instance is used.
|
| protected String | initLogPrefix()
Overrides org. |
| protected SslInfo | initSslInfo()
Implements abstract org. |
| bufferFactory | back to summary |
|---|---|
| private final NettyDataBufferFactory bufferFactory | |
| logger | back to summary |
|---|---|
| private static final Log logger | |
| logPrefixIndex | back to summary |
|---|---|
| private static final AtomicLong logPrefixIndex | |
| request | back to summary |
|---|---|
| private final HttpServerRequest request | |
| ReactorServerHttpRequest | back to summary |
|---|---|
| public ReactorServerHttpRequest(HttpServerRequest request, NettyDataBufferFactory bufferFactory) throws URISyntaxException | |
| getBody | back to summary |
|---|---|
| public Flux Implements org. Doc from org. Return the body of the message as a
| |
| getLocalAddress | back to summary |
|---|---|
| public InetSocketAddress getLocalAddress() Overrides default org. Doc from org. Return the local address the request was accepted on, if available. | |
| getNativeRequest | back to summary |
|---|---|
| public <T> T getNativeRequest() Implements abstract org. Doc from org. Return the underlying server response. Note This is exposed mainly for internal framework use such as WebSocket upgrades in the spring-webflux module.
| |
| getRemoteAddress | back to summary |
|---|---|
| public InetSocketAddress getRemoteAddress() Overrides default org. Doc from org. Return the remote address where this request is connected to, if available. | |
| initCookies | back to summary |
|---|---|
| protected MultiValueMap Implements abstract org. Doc from org. Obtain the cookies from the underlying "native" request and adapt those to
an Note that this method is invoked lazily on access to
| |
| initId | back to summary |
|---|---|
| protected String initId() Overrides org. Doc from org. Obtain the request id to use, or | |
| initLogPrefix | back to summary |
|---|---|
| protected String initLogPrefix() Overrides org. Doc from org. Subclasses can override this to provide the prefix to use for log messages. By default, this is
| |
| initSslInfo | back to summary |
|---|---|
| protected SslInfo initSslInfo() Implements abstract org. Doc from org. Obtain SSL session information from the underlying "native" request. | |