public class JspContextWrapper
extends javax.servlet.jsp.PageContext
implements javax.servlet.jsp.el.VariableResolver
| Constructor and Description |
|---|
JspContextWrapper(javax.servlet.jsp.JspContext jspContext,
ArrayList nestedVars,
ArrayList atBeginVars,
ArrayList atEndVars,
Map aliases) |
| Modifier and Type | Method and Description |
|---|---|
Object |
findAttribute(String name) |
void |
forward(String relativeUrlPath) |
Object |
getAttribute(String name) |
Object |
getAttribute(String name,
int scope) |
Enumeration<String> |
getAttributeNamesInScope(int scope) |
int |
getAttributesScope(String name) |
javax.el.ELContext |
getELContext() |
Exception |
getException() |
javax.servlet.jsp.el.ExpressionEvaluator |
getExpressionEvaluator() |
javax.servlet.jsp.JspWriter |
getOut() |
Object |
getPage() |
javax.servlet.ServletRequest |
getRequest() |
javax.servlet.ServletResponse |
getResponse() |
javax.servlet.ServletConfig |
getServletConfig() |
javax.servlet.ServletContext |
getServletContext() |
javax.servlet.http.HttpSession |
getSession() |
javax.servlet.jsp.el.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) |
javax.servlet.jsp.JspWriter |
popBody() |
javax.servlet.jsp.tagext.BodyContent |
pushBody() |
javax.servlet.jsp.JspWriter |
pushBody(Writer writer) |
void |
release() |
void |
removeAttribute(String name) |
void |
removeAttribute(String name,
int scope) |
Object |
resolveVariable(String pName)
VariableResolver interface
|
void |
setAttribute(String name,
Object value) |
void |
setAttribute(String name,
Object value,
int scope) |
void |
syncBeforeInvoke()
Synchronize variables before fragment invokation
|
void |
syncBeginTagFile()
Synchronize variables at begin of tag file
|
void |
syncEndTagFile()
Synchronize variables at end of tag file
|
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,
IllegalStateException,
IllegalArgumentException
initialize in class javax.servlet.jsp.PageContextIOExceptionIllegalStateExceptionIllegalArgumentExceptionpublic Object getAttribute(String name)
getAttribute in class javax.servlet.jsp.JspContextpublic Object getAttribute(String name, int scope)
getAttribute in class javax.servlet.jsp.JspContextpublic void setAttribute(String name, Object value)
setAttribute in class javax.servlet.jsp.JspContextpublic void setAttribute(String name, Object value, int scope)
setAttribute in class javax.servlet.jsp.JspContextpublic Object findAttribute(String name)
findAttribute in class javax.servlet.jsp.JspContextpublic void removeAttribute(String name)
removeAttribute in class javax.servlet.jsp.JspContextpublic void removeAttribute(String name, int scope)
removeAttribute in class javax.servlet.jsp.JspContextpublic int getAttributesScope(String name)
getAttributesScope in class javax.servlet.jsp.JspContextpublic Enumeration<String> getAttributeNamesInScope(int scope)
getAttributeNamesInScope in class javax.servlet.jsp.JspContextpublic void release()
release in class javax.servlet.jsp.PageContextpublic javax.servlet.jsp.JspWriter getOut()
getOut in class javax.servlet.jsp.JspContextpublic javax.servlet.http.HttpSession getSession()
getSession in class javax.servlet.jsp.PageContextpublic Object getPage()
getPage in class javax.servlet.jsp.PageContextpublic javax.servlet.ServletRequest getRequest()
getRequest in class javax.servlet.jsp.PageContextpublic javax.servlet.ServletResponse getResponse()
getResponse in class javax.servlet.jsp.PageContextpublic Exception getException()
getException in class javax.servlet.jsp.PageContextpublic javax.servlet.ServletConfig getServletConfig()
getServletConfig in class javax.servlet.jsp.PageContextpublic javax.servlet.ServletContext getServletContext()
getServletContext in class javax.servlet.jsp.PageContextpublic void forward(String relativeUrlPath) throws javax.servlet.ServletException, IOException
forward in class javax.servlet.jsp.PageContextjavax.servlet.ServletExceptionIOExceptionpublic void include(String relativeUrlPath) throws javax.servlet.ServletException, IOException
include in class javax.servlet.jsp.PageContextjavax.servlet.ServletExceptionIOExceptionpublic void include(String relativeUrlPath, boolean flush) throws javax.servlet.ServletException, IOException
include in class javax.servlet.jsp.PageContextjavax.servlet.ServletExceptionIOExceptionpublic javax.servlet.jsp.el.VariableResolver getVariableResolver()
getVariableResolver in class javax.servlet.jsp.JspContextpublic javax.servlet.jsp.tagext.BodyContent pushBody()
pushBody in class javax.servlet.jsp.PageContextpublic javax.servlet.jsp.JspWriter pushBody(Writer writer)
pushBody in class javax.servlet.jsp.JspContextpublic javax.servlet.jsp.JspWriter popBody()
popBody in class javax.servlet.jsp.JspContextpublic javax.servlet.jsp.el.ExpressionEvaluator getExpressionEvaluator()
getExpressionEvaluator in class javax.servlet.jsp.JspContextpublic void handlePageException(Exception ex) throws IOException, javax.servlet.ServletException
handlePageException in class javax.servlet.jsp.PageContextIOExceptionjavax.servlet.ServletExceptionpublic void handlePageException(Throwable t) throws IOException, javax.servlet.ServletException
handlePageException in class javax.servlet.jsp.PageContextIOExceptionjavax.servlet.ServletExceptionpublic Object resolveVariable(String pName) throws javax.servlet.jsp.el.ELException
resolveVariable in interface javax.servlet.jsp.el.VariableResolverjavax.servlet.jsp.el.ELExceptionpublic void syncBeginTagFile()
public void syncBeforeInvoke()
public void syncEndTagFile()
public javax.el.ELContext getELContext()
getELContext in class javax.servlet.jsp.JspContextCopyright © 2000–2018 Apache Software Foundation. All rights reserved.