| javax.servlet.jsp.PageContext org.apache.cactus.server.AbstractPageContextWrapper
All known Subclasses: org.apache.cactus.server.AbstractPageContextWrapper23,
AbstractPageContextWrapper | abstract public class AbstractPageContextWrapper extends PageContext (Code) | | Abstract wrapper around PageContext . This class provides
a common implementation of the wrapper for the different servlet API.
version: $Id: AbstractPageContextWrapper.java 239136 2005-02-01 08:54:44Z vmassol $ |
Constructor Summary | |
public | 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 | |
public Object | findAttribute(String theName) | public void | forward(String theRelativeURLPath) | public Object | getAttribute(String theName) | public Object | getAttribute(String theName, int theScope) | public Enumeration | getAttributeNamesInScope(int theScope) | public int | getAttributesScope(String theName) | public Exception | getException() | public PageContext | getOriginalPageContext() | 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) | public void | include(String theRelativeURLPath) | public void | initialize(Servlet theServlet, ServletRequest theRequest, ServletResponse theResponse, String theErrorPageURL, boolean isSessionNeeded, int theBufferSize, boolean isAutoFlush) | public JspWriter | popBody() | public BodyContent | pushBody() | public void | release() | public void | removeAttribute(String theName) | public void | removeAttribute(String theName, int theScope) | public void | setAttribute(String theName, Object theAttribute) | public void | setAttribute(String theName, Object theAttribute, int theScope) |
originalPageContext | protected PageContext originalPageContext(Code) | | The real page context
|
AbstractPageContextWrapper | public AbstractPageContextWrapper(PageContext theOriginalPageContext, ServletURL theURL)(Code) | | 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.
Parameters: theOriginalPageContext - the real page context Parameters: theURL - the URL to simulate or null if none |
getOriginalPageContext | public PageContext getOriginalPageContext()(Code) | | the original page context since: 1.7 |
getRequest | public ServletRequest getRequest()(Code) | | the Cactus wrapped servlet request that knows about thesimulated URL |
getServletConfig | public ServletConfig getServletConfig()(Code) | | the Cactus wrapped servlet config |
Methods inherited from javax.servlet.jsp.PageContext | abstract public void forward(String relativeUrlPath) throws ServletException, IOException(Code)(Java Doc) public ErrorData getErrorData()(Code)(Java Doc) abstract public Exception getException()(Code)(Java Doc) abstract public Object getPage()(Code)(Java Doc) abstract public ServletRequest getRequest()(Code)(Java Doc) abstract public ServletResponse getResponse()(Code)(Java Doc) abstract public ServletConfig getServletConfig()(Code)(Java Doc) abstract public ServletContext getServletContext()(Code)(Java Doc) abstract public HttpSession getSession()(Code)(Java Doc) abstract public void handlePageException(Exception e) throws ServletException, IOException(Code)(Java Doc) abstract public void handlePageException(Throwable t) throws ServletException, IOException(Code)(Java Doc) abstract public void include(String relativeUrlPath) throws ServletException, IOException(Code)(Java Doc) abstract public void include(String relativeUrlPath, boolean flush) throws ServletException, IOException(Code)(Java Doc) abstract public void initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) throws IOException, IllegalStateException, IllegalArgumentException(Code)(Java Doc) public BodyContent pushBody()(Code)(Java Doc) abstract public void release()(Code)(Java Doc)
|
|
|