ServerHttpRequest to the Reactor HttpServerRequest.
This class is based on ReactorServerHttpRequest.
| Modifier and Type | Field and Description |
|---|---|
| private final Netty5DataBufferFactory | |
| 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. Return the body of the message as a |
| public InetSocketAddress | getLocalAddress()
Overrides default org. Return the local address the request was accepted on, if available. |
| public <T> T | getNativeRequest()
Implements abstract org. Return the underlying server response. |
| public InetSocketAddress | getRemoteAddress()
Overrides default org. Return the remote address where this request is connected to, if available. |
| private static String | |
| protected MultiValueMap | initCookies()
Implements abstract org. Obtain the cookies from the underlying "native" request and adapt those to
an |
| protected String | initId()
Overrides org. Obtain the request id to use, or |
| protected String | initLogPrefix()
Overrides org. Subclasses can override this to provide the prefix to use for log messages. |
| protected SslInfo | initSslInfo()
Implements abstract org. Obtain SSL session information from the underlying "native" request. |
| private static URI | |
| private static URI | |
| private static String |
| bufferFactory | back to summary |
|---|---|
| private final Netty5DataBufferFactory 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 | |
| ReactorNetty2ServerHttpRequest | back to summary |
|---|---|
| public ReactorNetty2ServerHttpRequest(HttpServerRequest request, Netty5DataBufferFactory 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. | |
| getScheme | back to summary |
|---|---|
| private static String getScheme(HttpServerRequest request) | |
| 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. | |
| initUri | back to summary |
|---|---|
| private static URI initUri(HttpServerRequest request) throws URISyntaxException | |
| resolveBaseUrl | back to summary |
|---|---|
| private static URI resolveBaseUrl(HttpServerRequest request) throws URISyntaxException | |
| resolveRequestUri | back to summary |
|---|---|
| private static String resolveRequestUri(HttpServerRequest request) | |