public class MutableHttpServerRequest extends Object implements HttpServerRequest
HttpServerRequest implementation.| Constructor and Description |
|---|
MutableHttpServerRequest(org.springframework.http.HttpRequest httpRequest,
byte[] body) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getBody() |
org.springframework.http.HttpHeaders |
getHeaders() |
org.springframework.http.HttpMethod |
getMethod() |
String |
getMethodValue() |
String |
getPath()
Return a path of current HTTP request.
|
org.springframework.util.MultiValueMap<String,String> |
getQueryParams()
Return a map with parsed and decoded query parameter values.
|
URI |
getURI() |
MutableHttpServerRequest |
params(Map<String,String> params) |
public MutableHttpServerRequest(org.springframework.http.HttpRequest httpRequest,
byte[] body)
public MutableHttpServerRequest params(Map<String,String> params)
public InputStream getBody() throws IOException
getBody in interface org.springframework.http.HttpInputMessageIOExceptionpublic org.springframework.http.HttpMethod getMethod()
getMethod in interface org.springframework.http.HttpRequestpublic String getMethodValue()
getMethodValue in interface org.springframework.http.HttpRequestpublic URI getURI()
getURI in interface org.springframework.http.HttpRequestpublic org.springframework.http.HttpHeaders getHeaders()
getHeaders in interface org.springframework.http.HttpMessagepublic String getPath()
HttpServerRequestgetPath in interface HttpServerRequestpublic org.springframework.util.MultiValueMap<String,String> getQueryParams()
HttpServerRequestgetQueryParams in interface HttpServerRequestCopyright © 2021 Pivotal Software, Inc.. All rights reserved.