public class JspContextWrapper
extends jakarta.servlet.jsp.PageContext
implements jakarta.servlet.jsp.el.VariableResolver
| Constructor and Description |
|---|
JspContextWrapper(jakarta.servlet.jsp.JspContext jspContext,
ArrayList<String> nestedVars,
ArrayList<String> atBeginVars,
ArrayList<String> atEndVars,
Map<String,String> 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) |
jakarta.el.ELContext |
getELContext() |
Exception |
getException() |
jakarta.servlet.jsp.el.ExpressionEvaluator |
getExpressionEvaluator()
Deprecated.
|
jakarta.servlet.jsp.JspWriter |
getOut() |
Object |
getPage() |
jakarta.servlet.ServletRequest |
getRequest() |
jakarta.servlet.ServletResponse |
getResponse() |
jakarta.servlet.ServletConfig |
getServletConfig() |
jakarta.servlet.ServletContext |
getServletContext() |
jakarta.servlet.http.HttpSession |
getSession() |
jakarta.servlet.jsp.el.VariableResolver |
getVariableResolver()
Deprecated.
|
void |
handlePageException(Exception ex) |
void |
handlePageException(Throwable t) |
void |
include(String relativeUrlPath) |
void |
include(String relativeUrlPath,
boolean flush) |
void |
initialize(jakarta.servlet.Servlet servlet,
jakarta.servlet.ServletRequest request,
jakarta.servlet.ServletResponse response,
String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoFlush) |
jakarta.servlet.jsp.JspWriter |
popBody() |
jakarta.servlet.jsp.tagext.BodyContent |
pushBody() |
jakarta.servlet.jsp.JspWriter |
pushBody(Writer writer) |
void |
release() |
void |
removeAttribute(String name) |
void |
removeAttribute(String name,
int scope) |
Object |
resolveVariable(String pName)
Deprecated.
|
void |
setAttribute(String name,
Object value) |
void |
setAttribute(String name,
Object value,
int scope) |
void |
syncBeforeInvoke()
Synchronize variables before fragment invocation
|
void |
syncBeginTagFile()
Synchronize variables at begin of tag file
|
void |
syncEndTagFile()
Synchronize variables at end of tag file
|
public void initialize(jakarta.servlet.Servlet servlet,
jakarta.servlet.ServletRequest request,
jakarta.servlet.ServletResponse response,
String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoFlush)
throws IOException,
IllegalStateException,
IllegalArgumentException
initialize in class jakarta.servlet.jsp.PageContextIOExceptionIllegalStateExceptionIllegalArgumentExceptionpublic Object getAttribute(String name)
getAttribute in class jakarta.servlet.jsp.JspContextpublic Object getAttribute(String name, int scope)
getAttribute in class jakarta.servlet.jsp.JspContextpublic void setAttribute(String name, Object value)
setAttribute in class jakarta.servlet.jsp.JspContextpublic void setAttribute(String name, Object value, int scope)
setAttribute in class jakarta.servlet.jsp.JspContextpublic Object findAttribute(String name)
findAttribute in class jakarta.servlet.jsp.JspContextpublic void removeAttribute(String name)
removeAttribute in class jakarta.servlet.jsp.JspContextpublic void removeAttribute(String name, int scope)
removeAttribute in class jakarta.servlet.jsp.JspContextpublic int getAttributesScope(String name)
getAttributesScope in class jakarta.servlet.jsp.JspContextpublic Enumeration<String> getAttributeNamesInScope(int scope)
getAttributeNamesInScope in class jakarta.servlet.jsp.JspContextpublic void release()
release in class jakarta.servlet.jsp.PageContextpublic jakarta.servlet.jsp.JspWriter getOut()
getOut in class jakarta.servlet.jsp.JspContextpublic jakarta.servlet.http.HttpSession getSession()
getSession in class jakarta.servlet.jsp.PageContextpublic Object getPage()
getPage in class jakarta.servlet.jsp.PageContextpublic jakarta.servlet.ServletRequest getRequest()
getRequest in class jakarta.servlet.jsp.PageContextpublic jakarta.servlet.ServletResponse getResponse()
getResponse in class jakarta.servlet.jsp.PageContextpublic Exception getException()
getException in class jakarta.servlet.jsp.PageContextpublic jakarta.servlet.ServletConfig getServletConfig()
getServletConfig in class jakarta.servlet.jsp.PageContextpublic jakarta.servlet.ServletContext getServletContext()
getServletContext in class jakarta.servlet.jsp.PageContextpublic void forward(String relativeUrlPath) throws jakarta.servlet.ServletException, IOException
forward in class jakarta.servlet.jsp.PageContextjakarta.servlet.ServletExceptionIOExceptionpublic void include(String relativeUrlPath) throws jakarta.servlet.ServletException, IOException
include in class jakarta.servlet.jsp.PageContextjakarta.servlet.ServletExceptionIOExceptionpublic void include(String relativeUrlPath, boolean flush) throws jakarta.servlet.ServletException, IOException
include in class jakarta.servlet.jsp.PageContextjakarta.servlet.ServletExceptionIOException@Deprecated public jakarta.servlet.jsp.el.VariableResolver getVariableResolver()
getVariableResolver in class jakarta.servlet.jsp.JspContextpublic jakarta.servlet.jsp.tagext.BodyContent pushBody()
pushBody in class jakarta.servlet.jsp.PageContextpublic jakarta.servlet.jsp.JspWriter pushBody(Writer writer)
pushBody in class jakarta.servlet.jsp.JspContextpublic jakarta.servlet.jsp.JspWriter popBody()
popBody in class jakarta.servlet.jsp.JspContext@Deprecated public jakarta.servlet.jsp.el.ExpressionEvaluator getExpressionEvaluator()
getExpressionEvaluator in class jakarta.servlet.jsp.JspContextpublic void handlePageException(Exception ex) throws IOException, jakarta.servlet.ServletException
handlePageException in class jakarta.servlet.jsp.PageContextIOExceptionjakarta.servlet.ServletExceptionpublic void handlePageException(Throwable t) throws IOException, jakarta.servlet.ServletException
handlePageException in class jakarta.servlet.jsp.PageContextIOExceptionjakarta.servlet.ServletException@Deprecated public Object resolveVariable(String pName) throws jakarta.servlet.jsp.el.ELException
resolveVariable in interface jakarta.servlet.jsp.el.VariableResolverjakarta.servlet.jsp.el.ELExceptionpublic void syncBeginTagFile()
public void syncBeforeInvoke()
public void syncEndTagFile()
public jakarta.el.ELContext getELContext()
getELContext in class jakarta.servlet.jsp.JspContextCopyright © 2022 JBoss by Red Hat. All rights reserved.