org.apache.taglibs.standard.lang.jstl.test
Class PageContextImpl
java.lang.Object
javax.servlet.jsp.JspContext
javax.servlet.jsp.PageContext
org.apache.taglibs.standard.lang.jstl.test.PageContextImpl
public class PageContextImpl
- extends PageContext
This is a "dummy" implementation of PageContext whose only
purpose is to serve the attribute getter/setter API's.
- Version:
- $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: jluehe $
- Author:
- Nathan Abramson - Art Technology Group
| Fields inherited from class javax.servlet.jsp.PageContext |
APPLICATION, APPLICATION_SCOPE, CONFIG, EXCEPTION, OUT, PAGE, PAGE_SCOPE, PAGECONTEXT, REQUEST, REQUEST_SCOPE, RESPONSE, SESSION, SESSION_SCOPE |
|
Method Summary |
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)
|
ELContext |
getELContext()
|
java.lang.Exception |
getException()
|
ExpressionEvaluator |
getExpressionEvaluator()
|
JspWriter |
getOut()
|
java.lang.Object |
getPage()
|
javax.servlet.ServletRequest |
getRequest()
|
javax.servlet.ServletResponse |
getResponse()
|
javax.servlet.ServletConfig |
getServletConfig()
|
javax.servlet.ServletContext |
getServletContext()
|
javax.servlet.http.HttpSession |
getSession()
|
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(javax.servlet.Servlet servlet,
javax.servlet.ServletRequest request,
javax.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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageContextImpl
public PageContextImpl()
- Constructor
initialize
public void initialize(javax.servlet.Servlet servlet,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
java.lang.String errorPageURL,
boolean needSession,
int bufferSize,
boolean autoFlush)
- Specified by:
initialize in class PageContext
release
public void release()
- Specified by:
release in class PageContext
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object attribute)
- Specified by:
setAttribute in class JspContext
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object attribute,
int scope)
- Specified by:
setAttribute in class JspContext
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Specified by:
getAttribute in class JspContext
getAttribute
public java.lang.Object getAttribute(java.lang.String name,
int scope)
- Specified by:
getAttribute in class JspContext
findAttribute
public java.lang.Object findAttribute(java.lang.String name)
- Specified by:
findAttribute in class JspContext
removeAttribute
public void removeAttribute(java.lang.String name)
- Specified by:
removeAttribute in class JspContext
removeAttribute
public void removeAttribute(java.lang.String name,
int scope)
- Specified by:
removeAttribute in class JspContext
getAttributesScope
public int getAttributesScope(java.lang.String name)
- Specified by:
getAttributesScope in class JspContext
getAttributeNamesInScope
public java.util.Enumeration getAttributeNamesInScope(int scope)
- Specified by:
getAttributeNamesInScope in class JspContext
getOut
public JspWriter getOut()
- Specified by:
getOut in class JspContext
getSession
public javax.servlet.http.HttpSession getSession()
- Specified by:
getSession in class PageContext
getPage
public java.lang.Object getPage()
- Specified by:
getPage in class PageContext
getRequest
public javax.servlet.ServletRequest getRequest()
- Specified by:
getRequest in class PageContext
getResponse
public javax.servlet.ServletResponse getResponse()
- Specified by:
getResponse in class PageContext
getException
public java.lang.Exception getException()
- Specified by:
getException in class PageContext
getServletConfig
public javax.servlet.ServletConfig getServletConfig()
- Specified by:
getServletConfig in class PageContext
getServletContext
public javax.servlet.ServletContext getServletContext()
- Specified by:
getServletContext in class PageContext
forward
public void forward(java.lang.String path)
- Specified by:
forward in class PageContext
include
public void include(java.lang.String path)
- Specified by:
include in class PageContext
handlePageException
public void handlePageException(java.lang.Exception exc)
- Specified by:
handlePageException in class PageContext
handlePageException
public void handlePageException(java.lang.Throwable exc)
- Specified by:
handlePageException in class PageContext
include
public void include(java.lang.String relativeUrlPath,
boolean flush)
- Specified by:
include in class PageContext
getExpressionEvaluator
public ExpressionEvaluator getExpressionEvaluator()
- Specified by:
getExpressionEvaluator in class JspContext
getVariableResolver
public VariableResolver getVariableResolver()
- Specified by:
getVariableResolver in class JspContext
getELContext
public ELContext getELContext()
- Specified by:
getELContext in class JspContext
Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.