public interface ServerHttpRequest extends HttpRequest, ReactiveHttpInputMessage
Modifier and Type | Interface and Description |
---|---|
static interface |
ServerHttpRequest.Builder
Builder for mutating an existing
ServerHttpRequest . |
Modifier and Type | Method and Description |
---|---|
MultiValueMap<java.lang.String,HttpCookie> |
getCookies()
Return a read-only map of cookies sent by the client.
|
RequestPath |
getPath()
Returns a structured representation of the request path including the
context path + path within application portions, path segments with
encoded and decoded values, and path parameters.
|
MultiValueMap<java.lang.String,java.lang.String> |
getQueryParams()
Return a read-only map with parsed and decoded query parameter values.
|
java.net.InetSocketAddress |
getRemoteAddress()
Return the remote address where this request is connected to, if available.
|
default ServerHttpRequest.Builder |
mutate()
Return a builder to mutate properties of this request by wrapping it
with
ServerHttpRequestDecorator and returning either mutated
values or delegating back to this instance. |
getMethod, getMethodValue, getURI
getBody
getHeaders
RequestPath getPath()
MultiValueMap<java.lang.String,java.lang.String> getQueryParams()
MultiValueMap<java.lang.String,HttpCookie> getCookies()
@Nullable java.net.InetSocketAddress getRemoteAddress()
default ServerHttpRequest.Builder mutate()
ServerHttpRequestDecorator
and returning either mutated
values or delegating back to this instance.