public class PageContextImpl
extends javax.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 |
---|---|
Object |
findAttribute(String name) |
void |
forward(String path) |
Object |
getAttribute(String name) |
Object |
getAttribute(String name,
int scope) |
Enumeration |
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 exc) |
void |
handlePageException(Throwable exc) |
void |
include(String path) |
void |
include(String relativeUrlPath,
boolean flush) |
void |
initialize(javax.servlet.Servlet servlet,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
String errorPageURL,
boolean needSession,
int bufferSize,
boolean autoFlush) |
void |
release() |
void |
removeAttribute(String name) |
void |
removeAttribute(String name,
int scope) |
void |
setAttribute(String name,
Object attribute) |
void |
setAttribute(String name,
Object attribute,
int scope) |
public void initialize(javax.servlet.Servlet servlet, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, String errorPageURL, boolean needSession, int bufferSize, boolean autoFlush)
initialize
in class javax.servlet.jsp.PageContext
public void release()
release
in class javax.servlet.jsp.PageContext
public void setAttribute(String name, Object attribute)
setAttribute
in class javax.servlet.jsp.JspContext
public void setAttribute(String name, Object attribute, int scope)
setAttribute
in class javax.servlet.jsp.JspContext
public Object getAttribute(String name)
getAttribute
in class javax.servlet.jsp.JspContext
public Object getAttribute(String name, int scope)
getAttribute
in class javax.servlet.jsp.JspContext
public Object findAttribute(String name)
findAttribute
in class javax.servlet.jsp.JspContext
public void removeAttribute(String name)
removeAttribute
in class javax.servlet.jsp.JspContext
public void removeAttribute(String name, int scope)
removeAttribute
in class javax.servlet.jsp.JspContext
public int getAttributesScope(String name)
getAttributesScope
in class javax.servlet.jsp.JspContext
public Enumeration getAttributeNamesInScope(int scope)
getAttributeNamesInScope
in class javax.servlet.jsp.JspContext
public javax.servlet.jsp.JspWriter getOut()
getOut
in class javax.servlet.jsp.JspContext
public javax.servlet.http.HttpSession getSession()
getSession
in class javax.servlet.jsp.PageContext
public Object getPage()
getPage
in class javax.servlet.jsp.PageContext
public javax.servlet.ServletRequest getRequest()
getRequest
in class javax.servlet.jsp.PageContext
public javax.servlet.ServletResponse getResponse()
getResponse
in class javax.servlet.jsp.PageContext
public Exception getException()
getException
in class javax.servlet.jsp.PageContext
public javax.servlet.ServletConfig getServletConfig()
getServletConfig
in class javax.servlet.jsp.PageContext
public javax.servlet.ServletContext getServletContext()
getServletContext
in class javax.servlet.jsp.PageContext
public void forward(String path)
forward
in class javax.servlet.jsp.PageContext
public void include(String path)
include
in class javax.servlet.jsp.PageContext
public void handlePageException(Exception exc)
handlePageException
in class javax.servlet.jsp.PageContext
public void handlePageException(Throwable exc)
handlePageException
in class javax.servlet.jsp.PageContext
public void include(String relativeUrlPath, boolean flush)
include
in class javax.servlet.jsp.PageContext
public javax.servlet.jsp.el.ExpressionEvaluator getExpressionEvaluator()
getExpressionEvaluator
in class javax.servlet.jsp.JspContext
public javax.servlet.jsp.el.VariableResolver getVariableResolver()
getVariableResolver
in class javax.servlet.jsp.JspContext
public javax.el.ELContext getELContext()
getELContext
in class javax.servlet.jsp.JspContext
Copyright © 2016 JBoss by Red Hat. All rights reserved.