public class ServerHttpRequestDecorator extends Object implements ServerHttpRequest
ServerHttpRequest and delegates all methods to it.
Sub-classes can override specific methods selectively.ServerHttpRequest.Builder| Constructor and Description |
|---|
ServerHttpRequestDecorator(ServerHttpRequest delegate) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> |
getBody()
Return the body of the message as a
Publisher. |
org.springframework.util.MultiValueMap<String,HttpCookie> |
getCookies()
Return a read-only map of cookies sent by the client.
|
ServerHttpRequest |
getDelegate() |
HttpHeaders |
getHeaders()
Return the headers of this message.
|
HttpMethod |
getMethod()
Return the HTTP method of the request.
|
org.springframework.util.MultiValueMap<String,String> |
getQueryParams()
Return a read-only map with parsed and decoded query parameter values.
|
URI |
getURI()
Return the URI of the request.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContextPath, mutatepublic ServerHttpRequestDecorator(ServerHttpRequest delegate)
public ServerHttpRequest getDelegate()
public HttpMethod getMethod()
HttpRequestgetMethod in interface HttpRequestnull
if not resolvable (e.g. in case of a non-standard HTTP method)public URI getURI()
HttpRequestgetURI in interface HttpRequestnull)public org.springframework.util.MultiValueMap<String,String> getQueryParams()
ServerHttpRequestgetQueryParams in interface ServerHttpRequestpublic HttpHeaders getHeaders()
HttpMessagegetHeaders in interface HttpMessagenull)public org.springframework.util.MultiValueMap<String,HttpCookie> getCookies()
ServerHttpRequestgetCookies in interface ServerHttpRequestpublic reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> getBody()
ReactiveHttpInputMessagePublisher.getBody in interface ReactiveHttpInputMessage