|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.servlet.jsp.PageContext
|
+--com.caucho.jsp.QPageContext
| 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 |
| Method Summary | |
java.lang.Object |
findAttribute(java.lang.String name)
Finds an attribute in all scopes. |
void |
forward(java.lang.String relativeUrl)
Forwards the request relative to the current URL. |
java.lang.Object |
getAttribute(java.lang.String name)
Gets the named page attribute. |
java.lang.Object |
getAttribute(java.lang.String name,
int scope)
Gets an attribute in a given scope. |
java.util.Enumeration |
getAttributeNames()
Return an enumeration of all the attribute names. |
java.util.Enumeration |
getAttributeNames(int scope)
|
java.util.Enumeration |
getAttributeNamesInScope(int scope)
Lists attribute names in a given scope. |
int |
getAttributesScope(java.lang.String name)
Returns the scope for an attribute. |
java.lang.Exception |
getException()
Returns the exception for error pages. |
JspWriter |
getOut()
Returns the current output for the page. |
java.lang.Object |
getPage()
Return the servlet object for the page. |
ServletRequest |
getRequest()
Returns the ServletRequest for the page. |
ServletResponse |
getResponse()
Returns the ServletResponse for the page. |
ServletConfig |
getServletConfig()
Returns the servletConfig for the JSP page. |
ServletContext |
getServletContext()
Returns the servletContext (application object) for the request. |
HttpSession |
getSession()
Returns the request's session. |
java.lang.Throwable |
getThrowable()
|
void |
handlePageException(java.lang.Exception e)
Internal routine to support errorPages |
void |
handlePageException(java.lang.Throwable e)
|
void |
include(java.lang.String relativeUrl)
Includes the a page relative to the current URL. |
void |
initialize(Servlet servlet,
ServletRequest request,
ServletResponse response,
java.lang.String errorPage,
boolean needsSession,
int bufferSize,
boolean autoFlush)
Internal routine to initialize the PageContext for a page. |
JspWriter |
popBody()
Internal routine to support BodyTags. |
JspWriter |
popBodyHack()
|
BodyContent |
pushBody()
Internal routine to support BodyTags. |
void |
release()
Internal routine to free PageContext resources at the end of a page. |
void |
removeAttribute(java.lang.String name)
Removes the named page attribute. |
void |
removeAttribute(java.lang.String name,
int scope)
Removes an attribute in a given scope. |
void |
setAttribute(java.lang.String name,
java.lang.Object attribute)
Sets the named page attribute. |
void |
setAttribute(java.lang.String name,
java.lang.Object value,
int scope)
Sets an attribute in a given scope. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void initialize(Servlet servlet,
ServletRequest request,
ServletResponse response,
java.lang.String errorPage,
boolean needsSession,
int bufferSize,
boolean autoFlush)
PageContextinitialize in class PageContextpublic java.lang.Object getAttribute(java.lang.String name)
PageContextgetAttribute in class PageContextjavax.servlet.jsp.PageContextname - of the attribute
public void setAttribute(java.lang.String name,
java.lang.Object attribute)
PageContextsetAttribute in class PageContextjavax.servlet.jsp.PageContextname - name of the attributeattribute - non-null attribute value.public void removeAttribute(java.lang.String name)
PageContextremoveAttribute in class PageContextpublic java.util.Enumeration getAttributeNames()
PageContextgetAttributeNames in class PageContext
public java.lang.Object getAttribute(java.lang.String name,
int scope)
PageContextgetAttribute in class PageContextjavax.servlet.jsp.PageContextname - attribute namescope - attribute scope
public void setAttribute(java.lang.String name,
java.lang.Object value,
int scope)
PageContextsetAttribute in class PageContextjavax.servlet.jsp.PageContextname - attribute nameo - attribute valuescope - attribute scope
public void removeAttribute(java.lang.String name,
int scope)
PageContextremoveAttribute in class PageContextpublic java.util.Enumeration getAttributeNames(int scope)
public java.util.Enumeration getAttributeNamesInScope(int scope)
PageContextgetAttributeNamesInScope in class PageContextpublic java.lang.Object findAttribute(java.lang.String name)
PageContextfindAttribute in class PageContextpublic int getAttributesScope(java.lang.String name)
PageContextgetAttributesScope in class PageContextpublic JspWriter getOut()
PageContextgetOut in class PageContextpublic BodyContent pushBody()
PageContextpushBody in class PageContextpublic JspWriter popBody()
PageContextpopBody in class PageContextpublic JspWriter popBodyHack()
public java.lang.Object getPage()
PageContextgetPage in class PageContextpublic ServletRequest getRequest()
PageContextgetRequest in class PageContextpublic ServletResponse getResponse()
PageContextgetResponse in class PageContextpublic HttpSession getSession()
PageContextgetSession in class PageContextpublic ServletConfig getServletConfig()
PageContextgetServletConfig in class PageContextpublic ServletContext getServletContext()
PageContextgetServletContext in class PageContextpublic java.lang.Exception getException()
PageContextgetException in class PageContextpublic java.lang.Throwable getThrowable()
public void include(java.lang.String relativeUrl)
throws ServletException,
java.io.IOException
PageContextinclude in class PageContext
public void forward(java.lang.String relativeUrl)
throws ServletException,
java.io.IOException
PageContextforward in class PageContext
public void handlePageException(java.lang.Exception e)
throws ServletException,
java.io.IOException
PageContexthandlePageException in class PageContext
public void handlePageException(java.lang.Throwable e)
throws ServletException,
java.io.IOException
public void release()
PageContextrelease in class PageContext
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||