Class HttpServletRequestAdaptor
- java.lang.Object
-
- javax.servlet.ServletRequestWrapper
-
- javax.servlet.http.HttpServletRequestWrapper
-
- org.adempiere.eclipse.equinox.http.servlet.HttpServletRequestAdaptor
-
- All Implemented Interfaces:
javax.servlet.http.HttpServletRequest
,javax.servlet.ServletRequest
public class HttpServletRequestAdaptor extends javax.servlet.http.HttpServletRequestWrapper
-
-
Constructor Summary
Constructors Constructor Description HttpServletRequestAdaptor(javax.servlet.http.HttpServletRequest req, String alias, javax.servlet.Servlet servlet, javax.servlet.FilterChain filterChain)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getAttribute(String attributeName)
String
getAuthType()
String
getContextPath()
static String
getDispatchPathInfo(javax.servlet.http.HttpServletRequest req, javax.servlet.FilterChain filterChain)
static String
getDispatchServletPath(javax.servlet.http.HttpServletRequest req)
String
getPathInfo()
String
getRemoteUser()
javax.servlet.RequestDispatcher
getRequestDispatcher(String arg0)
String
getServletPath()
javax.servlet.http.HttpSession
getSession()
javax.servlet.http.HttpSession
getSession(boolean create)
-
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper
authenticate, changeSessionId, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getPathTranslated, getQueryString, getRequestedSessionId, getRequestURI, getRequestURL, getTrailerFields, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgrade
-
Methods inherited from class javax.servlet.ServletRequestWrapper
getAsyncContext, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, 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.ServletRequest
getAsyncContext, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
-
-
-
-
Constructor Detail
-
HttpServletRequestAdaptor
public HttpServletRequestAdaptor(javax.servlet.http.HttpServletRequest req, String alias, javax.servlet.Servlet servlet, javax.servlet.FilterChain filterChain)
-
-
Method Detail
-
getAuthType
public String getAuthType()
- Specified by:
getAuthType
in interfacejavax.servlet.http.HttpServletRequest
- Overrides:
getAuthType
in classjavax.servlet.http.HttpServletRequestWrapper
-
getRemoteUser
public String getRemoteUser()
- Specified by:
getRemoteUser
in interfacejavax.servlet.http.HttpServletRequest
- Overrides:
getRemoteUser
in classjavax.servlet.http.HttpServletRequestWrapper
-
getPathInfo
public String getPathInfo()
- Specified by:
getPathInfo
in interfacejavax.servlet.http.HttpServletRequest
- Overrides:
getPathInfo
in classjavax.servlet.http.HttpServletRequestWrapper
-
getServletPath
public String getServletPath()
- Specified by:
getServletPath
in interfacejavax.servlet.http.HttpServletRequest
- Overrides:
getServletPath
in classjavax.servlet.http.HttpServletRequestWrapper
-
getContextPath
public String getContextPath()
- Specified by:
getContextPath
in interfacejavax.servlet.http.HttpServletRequest
- Overrides:
getContextPath
in classjavax.servlet.http.HttpServletRequestWrapper
-
getAttribute
public Object getAttribute(String attributeName)
- Specified by:
getAttribute
in interfacejavax.servlet.ServletRequest
- Overrides:
getAttribute
in classjavax.servlet.ServletRequestWrapper
-
getRequestDispatcher
public javax.servlet.RequestDispatcher getRequestDispatcher(String arg0)
- Specified by:
getRequestDispatcher
in interfacejavax.servlet.ServletRequest
- Overrides:
getRequestDispatcher
in classjavax.servlet.ServletRequestWrapper
-
getDispatchPathInfo
public static String getDispatchPathInfo(javax.servlet.http.HttpServletRequest req, javax.servlet.FilterChain filterChain)
-
getDispatchServletPath
public static String getDispatchServletPath(javax.servlet.http.HttpServletRequest req)
-
getSession
public javax.servlet.http.HttpSession getSession()
- Specified by:
getSession
in interfacejavax.servlet.http.HttpServletRequest
- Overrides:
getSession
in classjavax.servlet.http.HttpServletRequestWrapper
-
getSession
public javax.servlet.http.HttpSession getSession(boolean create)
- Specified by:
getSession
in interfacejavax.servlet.http.HttpServletRequest
- Overrides:
getSession
in classjavax.servlet.http.HttpServletRequestWrapper
-
-