|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | POINTCUT | FIELD | CONSTRUCTOR | METHOD | DETAIL: FIELD | POINTCUT | CONSTRUCTOR | METHOD |
java.lang.Object | +--javax.servlet.jsp.PageContext | +--org.apache.cactus.server.AbstractPageContextWrapper
Abstract wrapper around PageContext
. This class provides
a common implementation of the wrapper for the different servlet API.
Fields inherited from class javax.servlet.jsp.PageContext |
APPLICATION, APPLICATION_SCOPE, CONFIG, EXCEPTION, OUT, PAGE, PAGECONTEXT, PAGE_SCOPE, REQUEST, REQUEST_SCOPE, RESPONSE, SESSION, SESSION_SCOPE |
Constructor Summary | |
AbstractPageContextWrapper(PageContext theOriginalPageContext,
ServletURL theURL)
Construct an PageContext instance that delegates
it's method calls to the page context object passed as parameter and
that uses the URL passed as parameter to simulate a URL from which
the request would come from. |
Method Summary | |
Object |
findAttribute(String theName)
Affected by: LogAspect |
void |
forward(String theRelativeURLPath)
Affected by: LogAspect |
Object |
getAttribute(String theName)
Affected by: LogAspect |
Object |
getAttribute(String theName,
int theScope)
Affected by: LogAspect |
Enumeration |
getAttributeNamesInScope(int theScope)
Affected by: LogAspect |
int |
getAttributesScope(String theName)
Affected by: LogAspect |
Exception |
getException()
|
JspWriter |
getOut()
|
Object |
getPage()
|
ServletRequest |
getRequest()
|
ServletResponse |
getResponse()
|
ServletConfig |
getServletConfig()
|
ServletContext |
getServletContext()
|
HttpSession |
getSession()
|
void |
handlePageException(Exception theException)
Affected by: LogAspect |
void |
include(String theRelativeURLPath)
Affected by: LogAspect |
void |
initialize(Servlet theServlet,
ServletRequest theRequest,
ServletResponse theResponse,
String theErrorPageURL,
boolean isSessionNeeded,
int theBufferSize,
boolean isAutoFlush)
Affected by: LogAspect |
JspWriter |
popBody()
|
BodyContent |
pushBody()
|
void |
release()
|
void |
removeAttribute(String theName)
Affected by: LogAspect |
void |
removeAttribute(String theName,
int theScope)
Affected by: LogAspect |
void |
setAttribute(String theName,
Object theAttribute)
Affected by: LogAspect |
void |
setAttribute(String theName,
Object theAttribute,
int theScope)
Affected by: LogAspect |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractPageContextWrapper(PageContext theOriginalPageContext, ServletURL theURL)
PageContext
instance that delegates
it's method calls to the page context object passed as parameter and
that uses the URL passed as parameter to simulate a URL from which
the request would come from.
theOriginalPageContext
- the real page context
theURL
- the URL to simulate or null
if none
Method Detail |
public Object findAttribute(String theName)
around() in LogAspect
.public void forward(String theRelativeURLPath) throws javax.servlet.ServletException, java.io.IOException
around() in LogAspect
.public Object getAttribute(String theName)
around() in LogAspect
.public Object getAttribute(String theName, int theScope)
around() in LogAspect
.public Enumeration getAttributeNamesInScope(int theScope)
around() in LogAspect
.public int getAttributesScope(String theName)
around() in LogAspect
.public Exception getException()
public JspWriter getOut()
public Object getPage()
public ServletRequest getRequest()
public ServletResponse getResponse()
public ServletConfig getServletConfig()
public ServletContext getServletContext()
public HttpSession getSession()
public void handlePageException(Exception theException) throws javax.servlet.ServletException, java.io.IOException
around() in LogAspect
.public void include(String theRelativeURLPath) throws javax.servlet.ServletException, java.io.IOException
around() in LogAspect
.public void initialize(Servlet theServlet, ServletRequest theRequest, ServletResponse theResponse, String theErrorPageURL, boolean isSessionNeeded, int theBufferSize, boolean isAutoFlush) throws java.io.IOException, java.lang.IllegalStateException, java.lang.IllegalArgumentException
around() in LogAspect
.public JspWriter popBody()
public BodyContent pushBody()
public void release()
public void removeAttribute(String theName)
around() in LogAspect
.public void removeAttribute(String theName, int theScope)
around() in LogAspect
.public void setAttribute(String theName, Object theAttribute)
around() in LogAspect
.public void setAttribute(String theName, Object theAttribute, int theScope)
around() in LogAspect
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTRUCTOR | METHOD | DETAIL: FIELD | CONSTRUCTOR | METHOD |