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() |
ServletRequest |
getRequest() |
ServletResponse |
getResponse() |
Servlet |
getServlet() |
ServletConfig |
getServletConfig() |
ServletContext |
getServletContext() |
HttpSession |
getSession() |
VariableResolver |
getVariableResolver() |
void |
handlePageException(Exception ex) |
void |
handlePageException(Throwable t) |
void |
include(String relativeUrlPath) |
void |
include(String relativeUrlPath,
boolean flush) |
void |
initialize(Servlet servlet,
ServletRequest request,
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(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) throws IOException
IOExceptionpublic 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 HttpSession getSession()
public Servlet getServlet()
public ServletConfig getServletConfig()
public ServletContext getServletContext()
public ServletRequest getRequest()
public ServletResponse getResponse()
public Exception getException()
public Object getPage()
public void include(String relativeUrlPath) throws ServletException, IOException
ServletExceptionIOExceptionpublic void include(String relativeUrlPath, boolean flush) throws ServletException, IOException
ServletExceptionIOExceptionpublic VariableResolver getVariableResolver()
public void forward(String relativeUrlPath) throws ServletException, IOException
ServletExceptionIOExceptionpublic void forwardToErrorPage(String relativeUrlPath) throws ServletException, IOException
ServletExceptionIOExceptionpublic BodyContent pushBody()
public JspWriter pushBody(Writer writer)
public JspWriter popBody()
public ExpressionEvaluator getExpressionEvaluator()
public void handlePageException(Exception ex) throws IOException, ServletException
IOExceptionServletExceptionpublic void handlePageException(Throwable t) throws IOException, ServletException
IOExceptionServletExceptionpublic 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 MethodELExceptionpublic ELContext getELContext()
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"