|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | POINTCUT | FIELD | CONSTRUCTOR | METHOD | DETAIL: FIELD | POINTCUT | CONSTRUCTOR | METHOD |
java.lang.Object | +--org.apache.cactus.server.AbstractHttpServletRequestWrapper
Abstract wrapper around HttpServletRequest
. This class provides
a common implementation of the wrapper for the different servlet API.
Constructor Summary | |
AbstractHttpServletRequestWrapper(HttpServletRequest theRequest,
ServletURL theURL)
|
Method Summary | |
Object |
getAttribute(String theName)
Affected by: LogAspect |
Enumeration |
getAttributeNames()
|
String |
getAuthType()
|
String |
getCharacterEncoding()
|
int |
getContentLength()
|
String |
getContentType()
|
String |
getContextPath()
|
Cookie[] |
getCookies()
|
long |
getDateHeader(String theName)
Affected by: LogAspect |
String |
getHeader(String theName)
Affected by: LogAspect |
Enumeration |
getHeaderNames()
|
Enumeration |
getHeaders(String theName)
Affected by: LogAspect |
ServletInputStream |
getInputStream()
|
int |
getIntHeader(String theName)
Affected by: LogAspect |
Locale |
getLocale()
|
Enumeration |
getLocales()
|
String |
getMethod()
|
HttpServletRequest |
getOriginalRequest()
|
String |
getParameter(String theName)
Affected by: LogAspect |
Enumeration |
getParameterNames()
|
String[] |
getParameterValues(String theName)
Affected by: LogAspect |
String |
getPathInfo()
|
String |
getPathTranslated()
|
String |
getProtocol()
|
String |
getQueryString()
|
BufferedReader |
getReader()
|
String |
getRealPath(String thePath)
Affected by: LogAspect |
String |
getRemoteAddr()
|
String |
getRemoteHost()
|
String |
getRemoteUser()
|
RequestDispatcher |
getRequestDispatcher(String thePath)
Affected by: LogAspect |
String |
getRequestURI()
|
String |
getRequestedSessionId()
|
String |
getScheme()
|
String |
getServerName()
|
int |
getServerPort()
|
String |
getServletPath()
|
HttpSession |
getSession()
|
HttpSession |
getSession(boolean isCreate)
Affected by: LogAspect |
Principal |
getUserPrincipal()
|
boolean |
isRequestedSessionIdFromCookie()
|
boolean |
isRequestedSessionIdFromURL()
|
boolean |
isRequestedSessionIdFromUrl()
|
boolean |
isRequestedSessionIdValid()
|
boolean |
isSecure()
|
boolean |
isUserInRole(String theRole)
Affected by: LogAspect |
void |
removeAttribute(String theName)
Affected by: LogAspect |
void |
setAttribute(String theName,
Object theAttribute)
Affected by: LogAspect |
void |
setRemoteHostName(String theRemoteHostName)
Affected by: LogAspect |
void |
setRemoteIPAddress(String theRemoteIPAddress)
Affected by: LogAspect |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractHttpServletRequestWrapper(HttpServletRequest theRequest, ServletURL theURL)
Method Detail |
public Object getAttribute(String theName)
getAttribute
in interface ServletRequest
around() in LogAspect
.public Enumeration getAttributeNames()
getAttributeNames
in interface ServletRequest
public String getAuthType()
getAuthType
in interface HttpServletRequest
public String getCharacterEncoding()
getCharacterEncoding
in interface ServletRequest
public int getContentLength()
getContentLength
in interface ServletRequest
public String getContentType()
getContentType
in interface ServletRequest
public String getContextPath()
getContextPath
in interface HttpServletRequest
public Cookie[] getCookies()
getCookies
in interface HttpServletRequest
public long getDateHeader(String theName)
getDateHeader
in interface HttpServletRequest
around() in LogAspect
.public String getHeader(String theName)
getHeader
in interface HttpServletRequest
around() in LogAspect
.public Enumeration getHeaderNames()
getHeaderNames
in interface HttpServletRequest
public Enumeration getHeaders(String theName)
getHeaders
in interface HttpServletRequest
around() in LogAspect
.public ServletInputStream getInputStream() throws java.io.IOException
getInputStream
in interface ServletRequest
public int getIntHeader(String theName)
getIntHeader
in interface HttpServletRequest
around() in LogAspect
.public Locale getLocale()
getLocale
in interface ServletRequest
public Enumeration getLocales()
getLocales
in interface ServletRequest
public String getMethod()
getMethod
in interface HttpServletRequest
public HttpServletRequest getOriginalRequest()
public String getParameter(String theName)
getParameter
in interface ServletRequest
around() in LogAspect
.public Enumeration getParameterNames()
getParameterNames
in interface ServletRequest
public String[] getParameterValues(String theName)
getParameterValues
in interface ServletRequest
around() in LogAspect
.public String getPathInfo()
getPathInfo
in interface HttpServletRequest
public String getPathTranslated()
getPathTranslated
in interface HttpServletRequest
public String getProtocol()
getProtocol
in interface ServletRequest
public String getQueryString()
getQueryString
in interface HttpServletRequest
public BufferedReader getReader() throws java.io.IOException
getReader
in interface ServletRequest
public String getRealPath(String thePath)
getRealPath
in interface ServletRequest
around() in LogAspect
.public String getRemoteAddr()
getRemoteAddr
in interface ServletRequest
public String getRemoteHost()
getRemoteHost
in interface ServletRequest
public String getRemoteUser()
getRemoteUser
in interface HttpServletRequest
public RequestDispatcher getRequestDispatcher(String thePath)
getRequestDispatcher
in interface ServletRequest
around() in LogAspect
.public String getRequestURI()
getRequestURI
in interface HttpServletRequest
public String getRequestedSessionId()
getRequestedSessionId
in interface HttpServletRequest
public String getScheme()
getScheme
in interface ServletRequest
public String getServerName()
getServerName
in interface ServletRequest
public int getServerPort()
getServerPort
in interface ServletRequest
public String getServletPath()
getServletPath
in interface HttpServletRequest
public HttpSession getSession()
getSession
in interface HttpServletRequest
public HttpSession getSession(boolean isCreate)
getSession
in interface HttpServletRequest
around() in LogAspect
.public Principal getUserPrincipal()
getUserPrincipal
in interface HttpServletRequest
public boolean isRequestedSessionIdFromCookie()
isRequestedSessionIdFromCookie
in interface HttpServletRequest
public boolean isRequestedSessionIdFromURL()
isRequestedSessionIdFromURL
in interface HttpServletRequest
public boolean isRequestedSessionIdFromUrl()
isRequestedSessionIdFromUrl
in interface HttpServletRequest
public boolean isRequestedSessionIdValid()
isRequestedSessionIdValid
in interface HttpServletRequest
public boolean isSecure()
isSecure
in interface ServletRequest
public boolean isUserInRole(String theRole)
isUserInRole
in interface HttpServletRequest
around() in LogAspect
.public void removeAttribute(String theName)
removeAttribute
in interface ServletRequest
around() in LogAspect
.public void setAttribute(String theName, Object theAttribute)
setAttribute
in interface ServletRequest
around() in LogAspect
.public void setRemoteHostName(String theRemoteHostName)
around() in LogAspect
.public void setRemoteIPAddress(String theRemoteIPAddress)
around() in LogAspect
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTRUCTOR | METHOD | DETAIL: FIELD | CONSTRUCTOR | METHOD |