RequestAdapterBasicRequestAdapter, HttpServletRequestAdapterpublic abstract class AbstractRequestAdapter extends AbstractRequest implements RequestAdapter
| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.Object |
adaptee |
| Constructor | Description |
|---|---|
AbstractRequestAdapter(java.lang.Object adaptee,
boolean touchFirst) |
Instantiates a new AbstractRequestAdapter.
|
| Modifier and Type | Method | Description |
|---|---|---|
<T> T |
getAdaptee() |
Returns the adaptee object to provide request information.
|
RequestScope |
getRequestScope() |
Gets the request scope.
|
RequestScope |
getRequestScope(boolean create) |
Gets the request scope.
|
addHeader, containsHeader, extractAttributes, extractParameters, getAllAttributes, getAllHeaders, getAllParameters, getAttribute, getAttributeMap, getAttributeNames, getEncoding, getFileParameter, getFileParameterMap, getFileParameterNames, getFileParameterValues, getHeader, getHeaderNames, getHeaders, getHeaders, getLocale, getParameter, getParameterMap, getParameterNames, getParameterValues, getRequestMethod, getTimeZone, isMaxLengthExceeded, putAllAttributes, removeAttribute, removeFileParameter, setAttribute, setAttributeMap, setEncoding, setFileParameter, setFileParameter, setHeader, setHeaders, setLocale, setMaxLengthExceeded, setParameter, setParameter, setParameterMap, setRequestMethod, setTimeZone, touchAttributes, touchFileParameterMap, touchHeaders, touchParameterMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, containsHeader, extractAttributes, extractParameters, getAllAttributes, getAllHeaders, getAllParameters, getAttribute, getAttributeNames, getEncoding, getFileParameter, getFileParameterNames, getFileParameterValues, getHeader, getHeaderNames, getHeaders, getLocale, getParameter, getParameterNames, getParameterValues, getRequestMethod, getTimeZone, isMaxLengthExceeded, putAllAttributes, removeAttribute, removeFileParameter, setAttribute, setEncoding, setFileParameter, setFileParameter, setHeader, setLocale, setMaxLengthExceeded, setParameter, setParameter, setTimeZonepublic AbstractRequestAdapter(java.lang.Object adaptee,
boolean touchFirst)
adaptee - the adaptee objecttouchFirst - whether to lazy initialize headers, parameters, and attributespublic <T> T getAdaptee()
RequestAdaptergetAdaptee in interface RequestAdapterT - the type of the adaptee objectpublic RequestScope getRequestScope()
RequestAdaptergetRequestScope in interface RequestAdapterpublic RequestScope getRequestScope(boolean create)
RequestAdaptergetRequestScope in interface RequestAdaptercreate - true to create a new request scope for this
request if necessary; false to return nullCopyright © 2008–2018 The Aspectran Project. All rights reserved.