com.ibm.wsspi.rrd.extension.handler
Class ExtensionHandlerRequestWrapper
- java.lang.Object
javax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
com.ibm.wsspi.rrd.extension.ExtensionRequestWrapper
com.ibm.wsspi.rrd.extension.handler.ExtensionHandlerRequestWrapper
All implemented interfaces:
ExtensionRequest, ExtensionHandlerRequest, javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest
- public class ExtensionHandlerRequestWrapper
- extends ExtensionRequestWrapper
- implements ExtensionHandlerRequest
ExtensionHandlerRequest
objects, which are in turn provided to
extension handlers for processing.
Since:
WAS6.1
Field Summary
Fields inherited from interface javax.servlet.http.HttpServletRequest |
---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Constructor Summary
Constructor and Description |
---|
ExtensionHandlerRequestWrapper(ExtensionHandlerRequest _request)
Creates an ExtensionHandlerRequestWrapper object.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getBodyObject()
|
getExtensionHandlerRequest()
Retrieves the original, wrapped ExtensionHandlerRequest object
associated with this extension handler request wrapper.
|
|
|
getHeaderObject()
|
Methods inherited from class com.ibm.wsspi.rrd.extension.ExtensionRequestWrapper |
---|
getExtensionRequest |
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper |
---|
authenticate, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logout |
Methods inherited from class javax.servlet.ServletRequestWrapper |
---|
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.http.HttpServletRequest |
---|
authenticate, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logout |
Methods inherited from interface javax.servlet.ServletRequest |
---|
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync |
Constructor Detail
ExtensionHandlerRequestWrapper
- public ExtensionHandlerRequestWrapper( ExtensionHandlerRequest _request)
Creates an ExtensionHandlerRequestWrapper object.
Parameters:
_request
- an ExtensionHandlerRequest object containing the
original extension handler request to wrap. Method Detail
getHeaderObject
- public org.eclipse.emf.ecore.EObject getHeaderObject( )
- throws RRDException
Description copied from interface:
ExtensionHandlerRequest
Retrieves extension object data from the header of an RRD request.
Specified by:
getHeaderObject
in interface ExtensionHandlerRequest
Returns:
an EObject object containing the extension object data attached
to an RRD request.
Throws:
RRDException
- if an error occurs while retrieving the extension
object data. getBodyObject
- public org.eclipse.emf.ecore.EObject getBodyObject( )
- throws RRDException
Description copied from interface:
ExtensionHandlerRequest
Retrieves extension object data from the body of an RRD request.
Specified by:
getBodyObject
in interface ExtensionHandlerRequest
Returns:
an EObject object containing the extension object data attached
to an RRD request.
Throws:
RRDException
- if an error occurs while retrieving the extension
object data. getExtensionHandlerRequest
- public ExtensionHandlerRequest getExtensionHandlerRequest( )
Retrieves the original, wrapped ExtensionHandlerRequest object
associated with this extension handler request wrapper.
Returns:
an ExtensionHandlerRequest object containing the extension
handler request wrapped by this extension handler request
wrapper.