|
|||||||||
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()
Returns the Throwable stored by the error page. |
void |
handlePageException(java.lang.Exception e)
Handles an exception caught in the JSP page. |
void |
handlePageException(java.lang.Throwable e)
Handles an exception caught in the JSP page. |
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)
PageContext
initialize
in class PageContext
public java.lang.Object getAttribute(java.lang.String name)
PageContext
getAttribute
in class PageContext
javax.servlet.jsp.PageContext
name
- of the attributepublic void setAttribute(java.lang.String name, java.lang.Object attribute)
PageContext
setAttribute
in class PageContext
javax.servlet.jsp.PageContext
name
- name of the attributeattribute
- non-null attribute value.public void removeAttribute(java.lang.String name)
PageContext
removeAttribute
in class PageContext
public java.util.Enumeration getAttributeNames()
PageContext
getAttributeNames
in class PageContext
public java.lang.Object getAttribute(java.lang.String name, int scope)
PageContext
getAttribute
in class PageContext
javax.servlet.jsp.PageContext
name
- attribute namescope
- attribute scopepublic void setAttribute(java.lang.String name, java.lang.Object value, int scope)
PageContext
setAttribute
in class PageContext
javax.servlet.jsp.PageContext
name
- attribute nameo
- attribute valuescope
- attribute scopepublic void removeAttribute(java.lang.String name, int scope)
PageContext
removeAttribute
in class PageContext
public java.util.Enumeration getAttributeNames(int scope)
public java.util.Enumeration getAttributeNamesInScope(int scope)
PageContext
getAttributeNamesInScope
in class PageContext
public java.lang.Object findAttribute(java.lang.String name)
PageContext
findAttribute
in class PageContext
public int getAttributesScope(java.lang.String name)
PageContext
getAttributesScope
in class PageContext
public JspWriter getOut()
PageContext
getOut
in class PageContext
public BodyContent pushBody()
PageContext
pushBody
in class PageContext
public JspWriter popBody()
PageContext
popBody
in class PageContext
public JspWriter popBodyHack()
public java.lang.Object getPage()
PageContext
getPage
in class PageContext
public ServletRequest getRequest()
PageContext
getRequest
in class PageContext
public ServletResponse getResponse()
PageContext
getResponse
in class PageContext
public HttpSession getSession()
PageContext
getSession
in class PageContext
public ServletConfig getServletConfig()
PageContext
getServletConfig
in class PageContext
public ServletContext getServletContext()
PageContext
getServletContext
in class PageContext
public java.lang.Exception getException()
PageContext
getException
in class PageContext
public java.lang.Throwable getThrowable()
public void include(java.lang.String relativeUrl) throws ServletException, java.io.IOException
PageContext
include
in class PageContext
public void forward(java.lang.String relativeUrl) throws ServletException, java.io.IOException
PageContext
forward
in class PageContext
public void handlePageException(java.lang.Exception e) throws ServletException, java.io.IOException
handlePageException
in class PageContext
e
- the caught exceptionpublic void handlePageException(java.lang.Throwable e) throws ServletException, java.io.IOException
e
- the caught exceptionpublic void release()
PageContext
release
in class PageContext
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |