|
||||||||
| 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 ServletRequestaround() in LogAspect.public Enumeration getAttributeNames()
getAttributeNames in interface ServletRequestpublic String getAuthType()
getAuthType in interface HttpServletRequestpublic String getCharacterEncoding()
getCharacterEncoding in interface ServletRequestpublic int getContentLength()
getContentLength in interface ServletRequestpublic String getContentType()
getContentType in interface ServletRequestpublic String getContextPath()
getContextPath in interface HttpServletRequestpublic Cookie[] getCookies()
getCookies in interface HttpServletRequestpublic long getDateHeader(String theName)
getDateHeader in interface HttpServletRequestaround() in LogAspect.public String getHeader(String theName)
getHeader in interface HttpServletRequestaround() in LogAspect.public Enumeration getHeaderNames()
getHeaderNames in interface HttpServletRequestpublic Enumeration getHeaders(String theName)
getHeaders in interface HttpServletRequestaround() in LogAspect.
public ServletInputStream getInputStream()
throws java.io.IOException
getInputStream in interface ServletRequestpublic int getIntHeader(String theName)
getIntHeader in interface HttpServletRequestaround() in LogAspect.public Locale getLocale()
getLocale in interface ServletRequestpublic Enumeration getLocales()
getLocales in interface ServletRequestpublic String getMethod()
getMethod in interface HttpServletRequestpublic HttpServletRequest getOriginalRequest()
public String getParameter(String theName)
getParameter in interface ServletRequestaround() in LogAspect.public Enumeration getParameterNames()
getParameterNames in interface ServletRequestpublic String[] getParameterValues(String theName)
getParameterValues in interface ServletRequestaround() in LogAspect.public String getPathInfo()
getPathInfo in interface HttpServletRequestpublic String getPathTranslated()
getPathTranslated in interface HttpServletRequestpublic String getProtocol()
getProtocol in interface ServletRequestpublic String getQueryString()
getQueryString in interface HttpServletRequest
public BufferedReader getReader()
throws java.io.IOException
getReader in interface ServletRequestpublic String getRealPath(String thePath)
getRealPath in interface ServletRequestaround() in LogAspect.public String getRemoteAddr()
getRemoteAddr in interface ServletRequestpublic String getRemoteHost()
getRemoteHost in interface ServletRequestpublic String getRemoteUser()
getRemoteUser in interface HttpServletRequestpublic RequestDispatcher getRequestDispatcher(String thePath)
getRequestDispatcher in interface ServletRequestaround() in LogAspect.public String getRequestURI()
getRequestURI in interface HttpServletRequestpublic String getRequestedSessionId()
getRequestedSessionId in interface HttpServletRequestpublic String getScheme()
getScheme in interface ServletRequestpublic String getServerName()
getServerName in interface ServletRequestpublic int getServerPort()
getServerPort in interface ServletRequestpublic String getServletPath()
getServletPath in interface HttpServletRequestpublic HttpSession getSession()
getSession in interface HttpServletRequestpublic HttpSession getSession(boolean isCreate)
getSession in interface HttpServletRequestaround() in LogAspect.public Principal getUserPrincipal()
getUserPrincipal in interface HttpServletRequestpublic boolean isRequestedSessionIdFromCookie()
isRequestedSessionIdFromCookie in interface HttpServletRequestpublic boolean isRequestedSessionIdFromURL()
isRequestedSessionIdFromURL in interface HttpServletRequestpublic boolean isRequestedSessionIdFromUrl()
isRequestedSessionIdFromUrl in interface HttpServletRequestpublic boolean isRequestedSessionIdValid()
isRequestedSessionIdValid in interface HttpServletRequestpublic boolean isSecure()
isSecure in interface ServletRequestpublic boolean isUserInRole(String theRole)
isUserInRole in interface HttpServletRequestaround() in LogAspect.public void removeAttribute(String theName)
removeAttribute in interface ServletRequestaround() in LogAspect.
public void setAttribute(String theName,
Object theAttribute)
setAttribute in interface ServletRequestaround() 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 | |||||||