public class RequestContextWrapper extends Object implements RequestContext
| Constructor and Description |
|---|
RequestContextWrapper(RequestContext context) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getAttribute(String name) |
String |
getCharacterEncoding() |
long |
getContentLength() |
MediaType |
getContentType() |
Cookies |
getCookies() |
Parameters |
getFormParameters() |
Locale |
getLocale() |
List<Locale> |
getLocales() |
Parameters |
getMatrixParameters() |
RequestContext |
getOriginalRequestContext() |
Parameters |
getQueryParameters() |
ReadableBuffer |
getRequestBody() |
Headers |
getRequestHeaders() |
String |
getRequestMethod() |
RequestPath |
getRequestPath() |
<T> void |
setAttribute(String name,
T value) |
public RequestContextWrapper(RequestContext context)
public RequestContext getOriginalRequestContext()
public Cookies getCookies()
getCookies in interface RequestContextpublic Headers getRequestHeaders()
getRequestHeaders in interface RequestContextpublic Parameters getFormParameters()
getFormParameters in interface RequestContextpublic Parameters getQueryParameters()
getQueryParameters in interface RequestContextpublic Parameters getMatrixParameters()
getMatrixParameters in interface RequestContextpublic ReadableBuffer getRequestBody() throws IOException
getRequestBody in interface RequestContextIOExceptionpublic MediaType getContentType()
getContentType in interface RequestContextpublic RequestPath getRequestPath()
getRequestPath in interface RequestContextpublic Locale getLocale()
getLocale in interface RequestContextpublic List<Locale> getLocales()
getLocales in interface RequestContextpublic long getContentLength()
getContentLength in interface RequestContextpublic String getCharacterEncoding()
getCharacterEncoding in interface RequestContextpublic String getRequestMethod()
getRequestMethod in interface RequestContextpublic <T> T getAttribute(String name)
getAttribute in interface RequestContextpublic <T> void setAttribute(String name, T value)
setAttribute in interface RequestContextCopyright © 2011-2017 Analog Web Framework Development Team. All Rights Reserved.