public class PageContextImpl
extends jakarta.servlet.jsp.PageContext
This is a "dummy" implementation of PageContext whose only purpose is to serve the attribute getter/setter API's.
| Constructor and Description |
|---|
PageContextImpl()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
findAttribute(java.lang.String name) |
void |
forward(java.lang.String path) |
java.lang.Object |
getAttribute(java.lang.String name) |
java.lang.Object |
getAttribute(java.lang.String name,
int scope) |
java.util.Enumeration |
getAttributeNamesInScope(int scope) |
int |
getAttributesScope(java.lang.String name) |
jakarta.el.ELContext |
getELContext() |
java.lang.Exception |
getException() |
jakarta.servlet.jsp.el.ExpressionEvaluator |
getExpressionEvaluator() |
jakarta.servlet.jsp.JspWriter |
getOut() |
java.lang.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() |
void |
handlePageException(java.lang.Exception exc) |
void |
handlePageException(java.lang.Throwable exc) |
void |
include(java.lang.String path) |
void |
include(java.lang.String relativeUrlPath,
boolean flush) |
void |
initialize(jakarta.servlet.Servlet servlet,
jakarta.servlet.ServletRequest request,
jakarta.servlet.ServletResponse response,
java.lang.String errorPageURL,
boolean needSession,
int bufferSize,
boolean autoFlush) |
void |
release() |
void |
removeAttribute(java.lang.String name) |
void |
removeAttribute(java.lang.String name,
int scope) |
void |
setAttribute(java.lang.String name,
java.lang.Object attribute) |
void |
setAttribute(java.lang.String name,
java.lang.Object attribute,
int scope) |
public void initialize(jakarta.servlet.Servlet servlet,
jakarta.servlet.ServletRequest request,
jakarta.servlet.ServletResponse response,
java.lang.String errorPageURL,
boolean needSession,
int bufferSize,
boolean autoFlush)
initialize in class jakarta.servlet.jsp.PageContextpublic void release()
release in class jakarta.servlet.jsp.PageContextpublic void setAttribute(java.lang.String name,
java.lang.Object attribute)
setAttribute in class jakarta.servlet.jsp.JspContextpublic void setAttribute(java.lang.String name,
java.lang.Object attribute,
int scope)
setAttribute in class jakarta.servlet.jsp.JspContextpublic java.lang.Object getAttribute(java.lang.String name)
getAttribute in class jakarta.servlet.jsp.JspContextpublic java.lang.Object getAttribute(java.lang.String name,
int scope)
getAttribute in class jakarta.servlet.jsp.JspContextpublic java.lang.Object findAttribute(java.lang.String name)
findAttribute in class jakarta.servlet.jsp.JspContextpublic void removeAttribute(java.lang.String name)
removeAttribute in class jakarta.servlet.jsp.JspContextpublic void removeAttribute(java.lang.String name,
int scope)
removeAttribute in class jakarta.servlet.jsp.JspContextpublic int getAttributesScope(java.lang.String name)
getAttributesScope in class jakarta.servlet.jsp.JspContextpublic java.util.Enumeration getAttributeNamesInScope(int scope)
getAttributeNamesInScope in class jakarta.servlet.jsp.JspContextpublic jakarta.servlet.jsp.JspWriter getOut()
getOut in class jakarta.servlet.jsp.JspContextpublic jakarta.servlet.http.HttpSession getSession()
getSession in class jakarta.servlet.jsp.PageContextpublic java.lang.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 java.lang.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(java.lang.String path)
forward in class jakarta.servlet.jsp.PageContextpublic void include(java.lang.String path)
include in class jakarta.servlet.jsp.PageContextpublic void handlePageException(java.lang.Exception exc)
handlePageException in class jakarta.servlet.jsp.PageContextpublic void handlePageException(java.lang.Throwable exc)
handlePageException in class jakarta.servlet.jsp.PageContextpublic void include(java.lang.String relativeUrlPath,
boolean flush)
include in class jakarta.servlet.jsp.PageContextpublic jakarta.servlet.jsp.el.ExpressionEvaluator getExpressionEvaluator()
getExpressionEvaluator in class jakarta.servlet.jsp.JspContextpublic jakarta.servlet.jsp.el.VariableResolver getVariableResolver()
getVariableResolver in class jakarta.servlet.jsp.JspContextpublic jakarta.el.ELContext getELContext()
getELContext in class jakarta.servlet.jsp.JspContextCopyright © 2019 Eclipse Foundation. All rights reserved.