public class HttpServletRestxRequest extends AbstractRequest
httpSettings| Constructor and Description |
|---|
HttpServletRestxRequest(HttpSettings httpSettings,
javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeContentStream() |
protected String |
getBaseApiPath() |
InputStream |
getContentStream() |
String |
getContentType() |
com.google.common.collect.ImmutableMap<String,String> |
getCookiesMap() |
com.google.common.base.Optional<String> |
getCookieValue(String cookieName) |
com.google.common.base.Optional<String> |
getHeader(String headerName) |
String |
getHttpMethod() |
String |
getLocalClientAddress() |
Locale |
getLocale() |
com.google.common.collect.ImmutableList<Locale> |
getLocales() |
protected String |
getLocalScheme() |
protected Map<String,String[]> |
getParameterMap() |
com.google.common.base.Optional<String> |
getQueryParam(String param) |
com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableList<String>> |
getQueryParams() |
List<String> |
getQueryParams(String param) |
String |
getRestxPath() |
String |
getRestxUri() |
boolean |
isPersistentCookie(String cookie) |
<T> T |
unwrap(Class<T> clazz) |
checkProxyRequest, getBaseNetworkPath, getBaseUri, getClientAddress, getHost, getScheme, isSecured, toStringpublic HttpServletRestxRequest(HttpSettings httpSettings, javax.servlet.http.HttpServletRequest request)
public String getLocalClientAddress()
getLocalClientAddress in class AbstractRequestprotected String getBaseApiPath()
getBaseApiPath in class AbstractRequestprotected String getLocalScheme()
getLocalScheme in class AbstractRequestpublic String getRestxPath()
public String getRestxUri()
public com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableList<String>> getQueryParams()
public InputStream getContentStream() throws IOException
IOExceptionpublic void closeContentStream()
throws IOException
IOExceptionpublic String getHttpMethod()
public boolean isPersistentCookie(String cookie)
public String getContentType()
public <T> T unwrap(Class<T> clazz)
public Locale getLocale()
public com.google.common.collect.ImmutableList<Locale> getLocales()
Copyright © 2017. All Rights Reserved.