public abstract class AbstractRequestContext extends Object implements RequestContext
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRequestContext(RequestPath requestPath,
Locale defaultLocale) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getAttribute(String name) |
String |
getCharacterEncoding() |
long |
getContentLength() |
MediaType |
getContentType() |
Cookies |
getCookies() |
protected String |
getDefaultCharacterEncoding() |
Parameters |
getFormParameters() |
Locale |
getLocale() |
List<Locale> |
getLocales() |
Parameters |
getMatrixParameters() |
Parameters |
getQueryParameters() |
RequestPath |
getRequestPath() |
<T> void |
setAttribute(String name,
T value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequestBody, getRequestHeaders, getRequestMethodprotected AbstractRequestContext(RequestPath requestPath, Locale defaultLocale)
public MediaType getContentType()
getContentType in interface RequestContextpublic Cookies getCookies()
getCookies in interface RequestContextpublic Parameters getQueryParameters()
getQueryParameters in interface RequestContextpublic Parameters getMatrixParameters()
getMatrixParameters in interface RequestContextpublic Parameters getFormParameters()
getFormParameters in interface RequestContextpublic RequestPath getRequestPath()
getRequestPath in interface RequestContextpublic List<Locale> getLocales()
getLocales in interface RequestContextpublic Locale getLocale()
getLocale in interface RequestContextpublic long getContentLength()
getContentLength in interface RequestContextpublic String getCharacterEncoding()
getCharacterEncoding in interface RequestContextprotected String getDefaultCharacterEncoding()
public <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.