public abstract class AbstractServerHttpRequest extends Object implements ServerHttpRequest
ServerHttpRequest implementations.| Constructor and Description |
|---|
AbstractServerHttpRequest() |
| Modifier and Type | Method and Description |
|---|---|
MultiValueMap<String,HttpCookie> |
getCookies()
Return a read-only map of cookies sent by the client.
|
HttpHeaders |
getHeaders()
Return the headers of this message.
|
MultiValueMap<String,String> |
getQueryParams()
Return a read-only map with parsed and decoded query parameter values.
|
URI |
getURI()
Return the URI of the request.
|
protected abstract MultiValueMap<String,HttpCookie> |
initCookies()
Initialize the cookies from the underlying request.
|
protected abstract HttpHeaders |
initHeaders()
Initialize the headers from the underlying request.
|
protected MultiValueMap<String,String> |
initQueryParams() |
protected abstract URI |
initUri()
Initialize a URI that represents the request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMethodgetBodypublic URI getURI()
HttpRequestgetURI in interface HttpRequestnull)protected abstract URI initUri() throws URISyntaxException
getURI() and then cached.URISyntaxExceptionpublic MultiValueMap<String,String> getQueryParams()
ServerHttpRequestgetQueryParams in interface ServerHttpRequestprotected MultiValueMap<String,String> initQueryParams()
public HttpHeaders getHeaders()
HttpMessagegetHeaders in interface HttpMessagenull)protected abstract HttpHeaders initHeaders()
getHeaders() and then cached.public MultiValueMap<String,HttpCookie> getCookies()
ServerHttpRequestgetCookies in interface ServerHttpRequestprotected abstract MultiValueMap<String,HttpCookie> initCookies()
getHeaders() and then cached.