| Modifier and Type | Class and Description |
|---|---|
| public static interface | ServerHttpRequest.
Builder for mutating an existing |
| Modifier and Type | Method and Description |
|---|---|
| public MultiValueMap | |
| public String | getId()
Return an id that represents the underlying connection, if available, or the request for the purpose of correlating log messages. |
| public default InetSocketAddress | |
| public RequestPath | |
| public MultiValueMap | |
| public default InetSocketAddress | |
| public default SslInfo | Returns: the session information, ornull if none availableReturn the SSL session information if the request has been transmitted over a secure protocol including SSL certificates, if available. |
| public default ServerHttpRequest. | mutate()
Return a builder to mutate properties of this request by wrapping it
with |
| getCookies | back to summary |
|---|---|
| public MultiValueMap Return a read-only map of cookies sent by the client. | |
| getId | back to summary |
|---|---|
| public String getId() 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 default InetSocketAddress getLocalAddress() Return the local address the request was accepted on, if available.
| |
| getPath | back to summary |
|---|---|
| public RequestPath getPath() 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 Return a read-only map with parsed and decoded query parameter values. | |
| getRemoteAddress | back to summary |
|---|---|
| public default InetSocketAddress getRemoteAddress() Return the remote address where this request is connected to, if available.
| |
| getSslInfo | back to summary |
|---|---|
| public default SslInfo getSslInfo() Return the SSL session information if the request has been transmitted over a secure protocol including SSL certificates, if available. | |
| mutate | back to summary |
|---|---|
| public default ServerHttpRequest. Return a builder to mutate properties of this request by wrapping it
with | |
ServerHttpRequest.
| Modifier and Type | Method and Description |
|---|---|
| public ServerHttpRequest | |
| public ServerHttpRequest. | |
| public ServerHttpRequest. | |
| public ServerHttpRequest. | |
| public ServerHttpRequest. | |
| public ServerHttpRequest. | path(String path)
Set the path to use instead of the
|
| public ServerHttpRequest. | |
| public ServerHttpRequest. | |
| public ServerHttpRequest. | uri(URI uri)
Set the URI to use with the following conditions:
|
| build | back to summary |
|---|---|
| public ServerHttpRequest build() Build a | |
| contextPath | back to summary |
|---|---|
| public ServerHttpRequest. Set the contextPath to use. The given value must be a valid | |
| header | back to summary |
|---|---|
| public ServerHttpRequest. Set or override the specified header values under the given name. If you need to add header values, remove headers, etc., use
| |
| headers | back to summary |
|---|---|
| public ServerHttpRequest. Manipulate request headers. The provided
| |
| method | back to summary |
|---|---|
| public ServerHttpRequest. Set the HTTP method to return. | |
| path | back to summary |
|---|---|
| public ServerHttpRequest. Set the path to use instead of the
| |
| remoteAddress | back to summary |
|---|---|
| public ServerHttpRequest. Set the address of the remote client.
| |
| sslInfo | back to summary |
|---|---|
| public ServerHttpRequest. Set the SSL session information. This may be useful in environments where TLS termination is done at the router, but SSL information is made available in some other way such as through a header.
| |
| uri | back to summary |
|---|---|
| public ServerHttpRequest. Set the URI to use with the following conditions:
| |