public class PageContextImpl
extends PageContext
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
findAttribute(java.lang.String name) |
void |
forward(java.lang.String relativeUrlPath) |
void |
forwardToErrorPage(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<java.lang.String> |
getAttributeNamesInScope(int scope) |
int |
getAttributesScope(java.lang.String name) |
ELContext |
getELContext() |
java.lang.Exception |
getException()
Returns the exception associated with this page context, if any.
|
ExpressionEvaluator |
getExpressionEvaluator()
Provides programmatic access to the ExpressionEvaluator.
|
JspWriter |
getOut() |
java.lang.Object |
getPage() |
ServletRequest |
getRequest() |
ServletResponse |
getResponse() |
Servlet |
getServlet() |
ServletConfig |
getServletConfig() |
ServletContext |
getServletContext() |
HttpSession |
getSession() |
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(Servlet servlet,
ServletRequest request,
ServletResponse response,
java.lang.String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoFlush) |
JspWriter |
popBody() |
static java.lang.Object |
proprietaryEvaluate(java.lang.String expression,
java.lang.Class expectedType,
PageContext pageContext,
ProtectedFunctionMapper functionMap,
boolean escape)
Proprietary method to evaluate EL expressions.
|
BodyContent |
pushBody() |
JspWriter |
pushBody(java.io.Writer writer) |
void |
release() |
void |
removeAttribute(java.lang.String name) |
void |
removeAttribute(java.lang.String name,
int scope) |
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(Servlet servlet, ServletRequest request, ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) throws java.io.IOException
java.io.IOException
public void release()
public java.lang.Object getAttribute(java.lang.String name)
public java.lang.Object getAttribute(java.lang.String name, int scope)
public void setAttribute(java.lang.String name, java.lang.Object attribute)
public void setAttribute(java.lang.String name, java.lang.Object o, int scope)
public void removeAttribute(java.lang.String name, int scope)
public int getAttributesScope(java.lang.String name)
public java.lang.Object findAttribute(java.lang.String name)
public java.util.Enumeration<java.lang.String> getAttributeNamesInScope(int scope)
public void removeAttribute(java.lang.String name)
public JspWriter getOut()
public HttpSession getSession()
public Servlet getServlet()
public ServletConfig getServletConfig()
public ServletContext getServletContext()
public ServletRequest getRequest()
public ServletResponse getResponse()
public java.lang.Exception getException()
public java.lang.Object getPage()
public void include(java.lang.String relativeUrlPath) throws ServletException, java.io.IOException
ServletException
java.io.IOException
public void include(java.lang.String relativeUrlPath, boolean flush) throws ServletException, java.io.IOException
ServletException
java.io.IOException
public VariableResolver getVariableResolver()
public void forward(java.lang.String relativeUrlPath) throws ServletException, java.io.IOException
ServletException
java.io.IOException
public void forwardToErrorPage(java.lang.String relativeUrlPath) throws ServletException, java.io.IOException
ServletException
java.io.IOException
public BodyContent pushBody()
public JspWriter pushBody(java.io.Writer writer)
public JspWriter popBody()
public ExpressionEvaluator getExpressionEvaluator()
public void handlePageException(java.lang.Exception ex) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public void handlePageException(java.lang.Throwable t) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public static java.lang.Object proprietaryEvaluate(java.lang.String expression, java.lang.Class expectedType, PageContext pageContext, ProtectedFunctionMapper functionMap, boolean escape) throws ELException
expression
- The expression to be evaluatedexpectedType
- The expected resulting typepageContext
- The page contextfunctionMap
- Maps prefix and name to MethodELException
public ELContext getELContext()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"