ServerHttpRequest and delegates all methods to it.
Subclasses can override specific methods selectively.
| Modifier and Type | Field and Description |
|---|---|
| private final ServerHttpRequest |
| 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 MultiValueMap | getCookies()
Implements org. Return a read-only map of cookies sent by the client. |
| public ServerHttpRequest | |
| public HttpHeaders | getHeaders()
Implements org. Return the headers of this message. |
| public String | getId()
Implements org. Return an id that represents the underlying connection, if available, or the request for the purpose of correlating log messages. |
| public InetSocketAddress | getLocalAddress()
Overrides default org. Return the local address the request was accepted on, if available. |
| public HttpMethod | getMethod()
Implements org. Return the HTTP method of the request. |
| public static < the expected native request type T> T | getNativeRequest(ServerHttpRequest
the request to check request)Return the native request of the underlying server API, if possible,
also unwrapping |
| public RequestPath | getPath()
Implements org. Returns a structured representation of the full request path up to but
not including the |
| public MultiValueMap | getQueryParams()
Implements org. Return a read-only map with parsed and decoded query parameter values. |
| public InetSocketAddress | getRemoteAddress()
Overrides default org. Return the remote address where this request is connected to, if available. |
| public SslInfo | getSslInfo()
Overrides default org. Return the SSL session information if the request has been transmitted over a secure protocol including SSL certificates, if available. |
| public URI | getURI()
Implements org. Return the URI of the request (including a query string if any, but only if it is well-formed for a URI representation). |
| public String |
| delegate | back to summary |
|---|---|
| private final ServerHttpRequest delegate | |
| ServerHttpRequestDecorator | back to summary |
|---|---|
| public ServerHttpRequestDecorator(ServerHttpRequest delegate) | |
| getBody | back to summary |
|---|---|
| public Flux Implements org. Doc from org. Return the body of the message as a
| |
| getCookies | back to summary |
|---|---|
| public MultiValueMap Implements org. Doc from org. Return a read-only map of cookies sent by the client.
| |
| getDelegate | back to summary |
|---|---|
| public ServerHttpRequest getDelegate() | |
| getHeaders | back to summary |
|---|---|
| public HttpHeaders getHeaders() Implements org. Doc from org. Return the headers of this message.
| |
| getId | back to summary |
|---|---|
| public String getId() Implements org. Doc from org. Return an id that represents the underlying connection, if available, or the request for the purpose of correlating log messages.
| |
| getLocalAddress | back to summary |
|---|---|
| public InetSocketAddress getLocalAddress() Overrides default org. Doc from org. Return the local address the request was accepted on, if available. | |
| getMethod | back to summary |
|---|---|
| public HttpMethod getMethod() Implements org. Doc from org. Return the HTTP method of the request.
| |
| getNativeRequest | back to summary |
|---|---|
| public static <T> T getNativeRequest(ServerHttpRequest request) Return the native request of the underlying server API, if possible,
also unwrapping
| |
| getPath | back to summary |
|---|---|
| public RequestPath getPath() Implements org. Doc from org. Returns a structured representation of the full request path up to but
not including the The returned path is subdivided into a
| |
| getQueryParams | back to summary |
|---|---|
| public MultiValueMap Implements org. Doc from org. Return a read-only map with parsed and decoded query parameter values.
| |
| 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. | |
| getSslInfo | back to summary |
|---|---|
| public SslInfo getSslInfo() Overrides default org. Doc from org. Return the SSL session information if the request has been transmitted over a secure protocol including SSL certificates, if available. | |
| getURI | back to summary |
|---|---|
| public URI getURI() Implements org. Doc from org. Return the URI of the request (including a query string if any, but only if it is well-formed for a URI representation). | |
| 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- | |