|
||||||||||
| 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 | |
|---|---|
static PageContextWrapper |
create(JspContext parent)
|
static void |
free(PageContextWrapper wrapper)
|
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. |
ServletRequest |
getRequest()
Returns the servlet request for the page. |
ServletResponse |
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. |
VariableResolver |
getVariableResolver()
Returns the variable resolver |
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 static PageContextWrapper create(JspContext parent)
public void init(PageContextImpl parent)
public java.lang.Object getPage()
getPage in class PageContextImplpublic ServletRequest getRequest()
getRequest in class PageContextImplpublic ServletResponse 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 VariableResolver getVariableResolver()
getVariableResolver 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 PageContextImplpublic static void free(PageContextWrapper wrapper)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||