public class PageContextImpl
extends javax.servlet.jsp.PageContext
implements javax.servlet.jsp.el.VariableResolver
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
findAttribute(java.lang.String name) |
void |
forward(java.lang.String relativeUrlPath) |
java.lang.Object |
getAttribute(java.lang.String name) |
java.lang.Object |
getAttribute(java.lang.String name,
int scope) |
java.util.Enumeration |
getAttributeNamesInScope(int scope) |
int |
getAttributesScope(java.lang.String name) |
java.lang.Exception |
getException()
Returns the exception associated with this page
context, if any.
|
javax.servlet.jsp.el.ExpressionEvaluator |
getExpressionEvaluator()
Provides programmatic access to the ExpressionEvaluator.
|
javax.servlet.jsp.JspWriter |
getOut() |
java.lang.Object |
getPage() |
javax.servlet.ServletRequest |
getRequest() |
javax.servlet.ServletResponse |
getResponse() |
javax.servlet.Servlet |
getServlet() |
javax.servlet.ServletConfig |
getServletConfig() |
javax.servlet.ServletContext |
getServletContext() |
javax.servlet.http.HttpSession |
getSession() |
javax.servlet.jsp.el.VariableResolver |
getVariableResolver() |
void |
handlePageException(java.lang.Exception ex) |
void |
handlePageException(java.lang.Throwable t) |
void |
include(java.lang.String relativeUrlPath) |
void |
include(java.lang.String relativeUrlPath,
boolean flush) |
void |
initialize(javax.servlet.Servlet servlet,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
java.lang.String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoFlush) |
javax.servlet.jsp.JspWriter |
popBody() |
static java.lang.Object |
proprietaryEvaluate(java.lang.String expression,
java.lang.Class expectedType,
javax.servlet.jsp.PageContext pageContext,
ProtectedFunctionMapper functionMap,
boolean escape)
Proprietary method to evaluate EL expressions.
|
javax.servlet.jsp.tagext.BodyContent |
pushBody() |
javax.servlet.jsp.JspWriter |
pushBody(java.io.Writer writer) |
void |
release() |
void |
removeAttribute(java.lang.String name) |
void |
removeAttribute(java.lang.String name,
int scope) |
java.lang.Object |
resolveVariable(java.lang.String pName)
VariableResolver interface
|
void |
setAttribute(java.lang.String name,
java.lang.Object attribute) |
void |
setAttribute(java.lang.String name,
java.lang.Object o,
int scope) |
public void initialize(javax.servlet.Servlet servlet, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) throws java.io.IOException
initialize
in class javax.servlet.jsp.PageContext
java.io.IOException
public void release()
release
in class javax.servlet.jsp.PageContext
public java.lang.Object getAttribute(java.lang.String name)
getAttribute
in class javax.servlet.jsp.JspContext
public java.lang.Object getAttribute(java.lang.String name, int scope)
getAttribute
in class javax.servlet.jsp.JspContext
public void setAttribute(java.lang.String name, java.lang.Object attribute)
setAttribute
in class javax.servlet.jsp.JspContext
public void setAttribute(java.lang.String name, java.lang.Object o, int scope)
setAttribute
in class javax.servlet.jsp.JspContext
public void removeAttribute(java.lang.String name, int scope)
removeAttribute
in class javax.servlet.jsp.JspContext
public int getAttributesScope(java.lang.String name)
getAttributesScope
in class javax.servlet.jsp.JspContext
public java.lang.Object findAttribute(java.lang.String name)
findAttribute
in class javax.servlet.jsp.JspContext
public java.util.Enumeration getAttributeNamesInScope(int scope)
getAttributeNamesInScope
in class javax.servlet.jsp.JspContext
public void removeAttribute(java.lang.String name)
removeAttribute
in class javax.servlet.jsp.JspContext
public javax.servlet.jsp.JspWriter getOut()
getOut
in class javax.servlet.jsp.JspContext
public javax.servlet.http.HttpSession getSession()
getSession
in class javax.servlet.jsp.PageContext
public javax.servlet.Servlet getServlet()
public javax.servlet.ServletConfig getServletConfig()
getServletConfig
in class javax.servlet.jsp.PageContext
public javax.servlet.ServletContext getServletContext()
getServletContext
in class javax.servlet.jsp.PageContext
public javax.servlet.ServletRequest getRequest()
getRequest
in class javax.servlet.jsp.PageContext
public javax.servlet.ServletResponse getResponse()
getResponse
in class javax.servlet.jsp.PageContext
public java.lang.Exception getException()
getException
in class javax.servlet.jsp.PageContext
public java.lang.Object getPage()
getPage
in class javax.servlet.jsp.PageContext
public void include(java.lang.String relativeUrlPath) throws javax.servlet.ServletException, java.io.IOException
include
in class javax.servlet.jsp.PageContext
javax.servlet.ServletException
java.io.IOException
public void include(java.lang.String relativeUrlPath, boolean flush) throws javax.servlet.ServletException, java.io.IOException
include
in class javax.servlet.jsp.PageContext
javax.servlet.ServletException
java.io.IOException
public javax.servlet.jsp.el.VariableResolver getVariableResolver()
getVariableResolver
in class javax.servlet.jsp.JspContext
public void forward(java.lang.String relativeUrlPath) throws javax.servlet.ServletException, java.io.IOException
forward
in class javax.servlet.jsp.PageContext
javax.servlet.ServletException
java.io.IOException
public javax.servlet.jsp.tagext.BodyContent pushBody()
pushBody
in class javax.servlet.jsp.PageContext
public javax.servlet.jsp.JspWriter pushBody(java.io.Writer writer)
pushBody
in class javax.servlet.jsp.JspContext
public javax.servlet.jsp.JspWriter popBody()
popBody
in class javax.servlet.jsp.JspContext
public javax.servlet.jsp.el.ExpressionEvaluator getExpressionEvaluator()
getExpressionEvaluator
in class javax.servlet.jsp.JspContext
public void handlePageException(java.lang.Exception ex) throws java.io.IOException, javax.servlet.ServletException
handlePageException
in class javax.servlet.jsp.PageContext
java.io.IOException
javax.servlet.ServletException
public void handlePageException(java.lang.Throwable t) throws java.io.IOException, javax.servlet.ServletException
handlePageException
in class javax.servlet.jsp.PageContext
java.io.IOException
javax.servlet.ServletException
public java.lang.Object resolveVariable(java.lang.String pName) throws javax.servlet.jsp.el.ELException
resolveVariable
in interface javax.servlet.jsp.el.VariableResolver
javax.servlet.jsp.el.ELException
public static java.lang.Object proprietaryEvaluate(java.lang.String expression, java.lang.Class expectedType, javax.servlet.jsp.PageContext pageContext, ProtectedFunctionMapper functionMap, boolean escape) throws javax.servlet.jsp.el.ELException
expression
- The expression to be evaluatedexpectedType
- The expected resulting typepageContext
- The page contextfunctionMap
- Maps prefix and name to Methodjavax.servlet.jsp.el.ELException
Copyright ? 2000-2004 Apache Software Foundation. All Rights Reserved.