public class PageContextWrapper extends PageContextImpl
PageContextImpl.PageELContext, PageContextImpl.PageFunctionMapper, PageContextImpl.PageVarEnv, PageContextImpl.PageVariableMapper_isFilledAPPLICATION, APPLICATION_SCOPE, CONFIG, EXCEPTION, OUT, PAGE, PAGE_SCOPE, PAGECONTEXT, REQUEST, REQUEST_SCOPE, RESPONSE, SESSION, SESSION_SCOPE| Constructor and Description |
|---|
PageContextWrapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
forward(java.lang.String relativeUrl)
Forward a subrequest relative to the current url.
|
void |
forward(java.lang.String relativeUrl,
java.lang.String query)
Include another servlet into the current output stream.
|
WebApp |
getApplication()
Returns the page's application.
|
HttpServletRequest |
getCauchoRequest()
Returns the servlet response for the page.
|
CauchoResponse |
getCauchoResponse()
Returns the servlet response for the page.
|
ErrorData |
getErrorData()
Returns the error data
|
java.lang.String |
getErrorPage()
Returns the page's error page.
|
ExpressionEvaluator |
getExpressionEvaluator()
Returns the expression evaluator
|
JspWriter |
getOut()
Returns the current out.
|
java.lang.Object |
getPage()
Returns the underlying servlet for the page.
|
HttpServletRequest |
getRequest()
Returns the servlet request for the page.
|
HttpServletResponse |
getResponse()
Returns the servlet response for the page.
|
ServletConfig |
getServletConfig()
Returns the servletConfig for the JSP page.
|
ServletContext |
getServletContext()
Returns the page's servlet context.
|
HttpSession |
getSession()
Returns the request's session.
|
java.lang.Throwable |
getThrowable()
Returns the Throwable stored by the error page.
|
java.io.PrintWriter |
getTopWriter()
Returns the top writer.
|
void |
include(java.lang.String relativeUrl)
Includes the a page relative to the current URL.
|
void |
include(java.lang.String relativeUrl,
boolean flush)
Include another servlet into the current output stream.
|
void |
include(java.lang.String relativeUrl,
java.lang.String query,
boolean flush)
Include another servlet into the current output stream.
|
void |
init(PageContextImpl parent) |
JspWriter |
popAndReleaseBody()
Pops the BodyContent from the JspWriter stack.
|
JspWriter |
popBody()
Pops the page body.
|
BodyContent |
pushBody()
Pushes the page body.
|
JspWriter |
pushBody(java.io.Writer out)
Pushes the page body.
|
void |
releaseBody(BodyContentImpl out) |
void |
setErrorPage(java.lang.String errorPage)
Sets the page's error page.
|
JspWriter |
setWriter(JspWriter oldWriter)
Pops the BodyContent from the JspWriter stack.
|
applicationSetOrRemove, clearAttributes, createExpr, defaultSetOrRemove, encode, encode, fillAttribute, findAttribute, getAttribute, getAttribute, getAttributeNames, getAttributeNamesInScope, getAttributesScope, getBundle, getELContext, getException, getLocale, getLocale, getLocalizedMessage, getLocalizedMessage, getNodeEnv, getSessionScope, getVarEnv, getVariableResolver, handlePageException, handlePageException, init, initialize, initialize, invoke, invokeReader, invokeTrim, isIgnoreException, pageSetOrRemove, printBody, putAttribute, release, removeAttribute, removeAttribute, requestSetOrRemove, resolveVariable, sessionSetOrRemove, setAttribute, setAttribute, setMap, setNodeEnv, setOut, toBooleanpublic void init(PageContextImpl parent)
public java.lang.Object getPage()
getPage in class PageContextImplpublic HttpServletRequest getRequest()
getRequest in class PageContextImplpublic HttpServletResponse getResponse()
getResponse in class PageContextImplpublic HttpServletRequest getCauchoRequest()
getCauchoRequest in class PageContextImplpublic CauchoResponse getCauchoResponse()
getCauchoResponse in class PageContextImplpublic HttpSession getSession()
PageContextgetSession in class PageContextImplpublic ServletConfig getServletConfig()
PageContextgetServletConfig in class PageContextImplpublic ServletContext getServletContext()
getServletContext in class PageContextImplpublic WebApp getApplication()
getApplication in class PageContextImplpublic java.lang.String getErrorPage()
getErrorPage in class PageContextImplpublic void setErrorPage(java.lang.String errorPage)
setErrorPage in class PageContextImplpublic java.lang.Throwable getThrowable()
getThrowable in class PageContextImplpublic ErrorData getErrorData()
getErrorData in class PageContextImplpublic JspWriter getOut()
getOut in class PageContextImplpublic BodyContent pushBody()
pushBody in class PageContextImplpublic JspWriter pushBody(java.io.Writer out)
pushBody in class PageContextImplpublic JspWriter popAndReleaseBody() throws java.io.IOException
popAndReleaseBody in class PageContextImpljava.io.IOExceptionpublic JspWriter popBody()
popBody in class PageContextImplpublic void releaseBody(BodyContentImpl out) throws java.io.IOException
releaseBody in class PageContextImpljava.io.IOExceptionpublic JspWriter setWriter(JspWriter oldWriter)
setWriter in class PageContextImploldWriter - the old writerpublic java.io.PrintWriter getTopWriter()
throws java.io.IOException
getTopWriter in class PageContextImpljava.io.IOExceptionpublic ExpressionEvaluator getExpressionEvaluator()
getExpressionEvaluator in class PageContextImplpublic void forward(java.lang.String relativeUrl,
java.lang.String query)
throws ServletException,
java.io.IOException
PageContextImplforward in class PageContextImplrelativeUrl - url relative to the current request.ServletExceptionjava.io.IOExceptionpublic void forward(java.lang.String relativeUrl)
throws ServletException,
java.io.IOException
PageContextImplforward in class PageContextImplrelativeUrl - url relative to the current fileServletExceptionjava.io.IOExceptionpublic void include(java.lang.String relativeUrl)
throws ServletException,
java.io.IOException
PageContextinclude in class PageContextImplServletExceptionjava.io.IOExceptionpublic void include(java.lang.String relativeUrl,
java.lang.String query,
boolean flush)
throws ServletException,
java.io.IOException
PageContextImplinclude in class PageContextImplrelativeUrl - url relative to the current request.ServletExceptionjava.io.IOExceptionpublic void include(java.lang.String relativeUrl,
boolean flush)
throws ServletException,
java.io.IOException
PageContextImplinclude in class PageContextImplrelativeUrl - url relative to the current request.ServletExceptionjava.io.IOException