| javax.servlet.jsp.PageContext org.apache.jasper.runtime.PageContextImpl
PageContextImpl | public class PageContextImpl extends PageContext (Code) | | Implementation of the PageContext class from the JSP spec. Also doubles as a
VariableResolver for the EL.
author: Anil K. Vijendran author: Larry Cable author: Hans Bergsten author: Pierre Delisle author: Mark Roth author: Jan Luehe author: Jacob Hookom |
Method Summary | |
public Object | findAttribute(String name) | public void | forward(String relativeUrlPath) | public Object | getAttribute(String name) | public Object | getAttribute(String name, int scope) | public Enumeration<String> | getAttributeNamesInScope(int scope) | public int | getAttributesScope(String name) | public ELContext | getELContext() | public Exception | getException() Returns the exception associated with this page context, if any. | public ExpressionEvaluator | getExpressionEvaluator() Provides programmatic access to the ExpressionEvaluator. | public JspWriter | getOut() | public Object | getPage() | public ServletRequest | getRequest() | public ServletResponse | getResponse() | public Servlet | getServlet() | public ServletConfig | getServletConfig() | public ServletContext | getServletContext() | public HttpSession | getSession() | public VariableResolver | getVariableResolver() | public void | handlePageException(Exception ex) | public void | handlePageException(Throwable t) | public void | include(String relativeUrlPath) | public void | include(String relativeUrlPath, boolean flush) | public void | initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) | public JspWriter | popBody() | public static Object | proprietaryEvaluate(String expression, Class expectedType, PageContext pageContext, ProtectedFunctionMapper functionMap, boolean escape) Proprietary method to evaluate EL expressions. | public BodyContent | pushBody() | public JspWriter | pushBody(Writer writer) | public void | release() | public void | removeAttribute(String name, int scope) | public void | removeAttribute(String name) | public void | setAttribute(String name, Object attribute) | public void | setAttribute(String name, Object o, int scope) |
PageContextImpl | PageContextImpl()(Code) | | |
getAttributesScope | public int getAttributesScope(String name)(Code) | | |
getException | public Exception getException()(Code) | | Returns the exception associated with this page context, if any.
Added wrapping for Throwables to avoid ClassCastException: see Bugzilla
31171 for details.
The Exception associated with this page context, if any. |
getExpressionEvaluator | public ExpressionEvaluator getExpressionEvaluator()(Code) | | Provides programmatic access to the ExpressionEvaluator. The JSP
Container must return a valid instance of an ExpressionEvaluator that can
parse EL expressions.
|
proprietaryEvaluate | public static Object proprietaryEvaluate(String expression, Class expectedType, PageContext pageContext, ProtectedFunctionMapper functionMap, boolean escape) throws ELException(Code) | | Proprietary method to evaluate EL expressions. XXX - This method should
go away once the EL interpreter moves out of JSTL and into its own
project. For now, this is necessary because the standard machinery is too
slow.
Parameters: expression - The expression to be evaluated Parameters: expectedType - The expected resulting type Parameters: pageContext - The page context Parameters: functionMap - Maps prefix and name to Method The result of the evaluation |
release | public void release()(Code) | | |
removeAttribute | public void removeAttribute(String name, int scope)(Code) | | |
removeAttribute | public void removeAttribute(String name)(Code) | | |
Methods inherited from javax.servlet.jsp.PageContext | abstract public void forward(String relativeUrlPath) throws ServletException, IOException(Code)(Java Doc) public ErrorData getErrorData()(Code)(Java Doc) abstract public Exception getException()(Code)(Java Doc) abstract public Object getPage()(Code)(Java Doc) abstract public ServletRequest getRequest()(Code)(Java Doc) abstract public ServletResponse getResponse()(Code)(Java Doc) abstract public ServletConfig getServletConfig()(Code)(Java Doc) abstract public ServletContext getServletContext()(Code)(Java Doc) abstract public HttpSession getSession()(Code)(Java Doc) abstract public void handlePageException(Exception e) throws ServletException, IOException(Code)(Java Doc) abstract public void handlePageException(Throwable t) throws ServletException, IOException(Code)(Java Doc) abstract public void include(String relativeUrlPath) throws ServletException, IOException(Code)(Java Doc) abstract public void include(String relativeUrlPath, boolean flush) throws ServletException, IOException(Code)(Java Doc) abstract public void initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) throws IOException, IllegalStateException, IllegalArgumentException(Code)(Java Doc) public BodyContent pushBody()(Code)(Java Doc) abstract public void release()(Code)(Java Doc)
|
|
|