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