|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.JspContext
javax.servlet.jsp.PageContext
com.caucho.jsp.PageContextImpl
com.caucho.jsp.PageContextWrapper
public class PageContextWrapper
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.caucho.jsp.PageContextImpl |
|---|
PageContextImpl.PageELContext, PageContextImpl.PageFunctionMapper, PageContextImpl.PageVarEnv, PageContextImpl.PageVariableMapper |
| Field Summary |
|---|
| Fields inherited from class com.caucho.jsp.PageContextImpl |
|---|
_isFilled |
| Fields inherited from class javax.servlet.jsp.PageContext |
|---|
APPLICATION, APPLICATION_SCOPE, CONFIG, EXCEPTION, OUT, PAGE, PAGE_SCOPE, PAGECONTEXT, REQUEST, REQUEST_SCOPE, RESPONSE, SESSION, SESSION_SCOPE |
| Constructor Summary | |
|---|---|
PageContextWrapper()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageContextWrapper()
| Method Detail |
|---|
public 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()
PageContext
getSession in class PageContextImplpublic ServletConfig getServletConfig()
PageContext
getServletConfig 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 PageContextImpl
public JspWriter popAndReleaseBody()
throws java.io.IOException
popAndReleaseBody in class PageContextImpljava.io.IOExceptionpublic JspWriter popBody()
popBody in class PageContextImpl
public void releaseBody(BodyContentImpl out)
throws java.io.IOException
releaseBody in class PageContextImpljava.io.IOExceptionpublic JspWriter setWriter(JspWriter oldWriter)
setWriter in class PageContextImploldWriter - the old writer
public java.io.PrintWriter getTopWriter()
throws java.io.IOException
getTopWriter in class PageContextImpljava.io.IOExceptionpublic ExpressionEvaluator getExpressionEvaluator()
getExpressionEvaluator in class PageContextImpl
public void forward(java.lang.String relativeUrl,
java.lang.String query)
throws ServletException,
java.io.IOException
PageContextImpl
forward in class PageContextImplrelativeUrl - url relative to the current request.
ServletException
java.io.IOException
public void forward(java.lang.String relativeUrl)
throws ServletException,
java.io.IOException
PageContextImpl
forward in class PageContextImplrelativeUrl - url relative to the current file
ServletException
java.io.IOException
public void include(java.lang.String relativeUrl)
throws ServletException,
java.io.IOException
PageContext
include in class PageContextImplServletException
java.io.IOException
public void include(java.lang.String relativeUrl,
java.lang.String query,
boolean flush)
throws ServletException,
java.io.IOException
PageContextImpl
include in class PageContextImplrelativeUrl - url relative to the current request.
ServletException
java.io.IOException
public void include(java.lang.String relativeUrl,
boolean flush)
throws ServletException,
java.io.IOException
PageContextImpl
include in class PageContextImplrelativeUrl - url relative to the current request.
ServletException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||