javax.servlet.jsp
Class PageContext

java.lang.Object
  |
  +--javax.servlet.jsp.PageContext

public abstract class PageContext
extends java.lang.Object

XXX


Field Summary
static java.lang.String APPCONTEXT
          XXX
static int APPLICATION_SCOPE
          XXX
protected  java.util.Hashtable attributes
          XXX [mjw] Why transient?
static java.lang.String CONFIG
          XXX
protected  ServletContext context
          XXX
static int DEFAULT_BUFFER
          XXX
static java.lang.String EXCEPTION
          XXX
protected  JspFactory factory
          XXX
protected  boolean needsSession
          XXX
static int NO_BUFFER
          XXX
protected  JspWriter out
          XXX [mjw] Why transient?
static java.lang.String OUT
          XXX
static java.lang.String PAGE
          XXX
static int PAGE_SCOPE
          XXX
static java.lang.String PAGECONTEXT
          XXX
protected  ServletRequest request
          XXX [mjw] Why transient?
static java.lang.String REQUEST
          XXX
static int REQUEST_SCOPE
          XXX
protected  ServletResponse response
          XXX [mjw] Why transient?
static java.lang.String RESPONSE
          XXX
protected  Servlet servlet
          XXX
protected  HttpSession session
          XXX [mjw] Why transient?
static java.lang.String SESSION
          XXX
static int SESSION_SCOPE
          XXX
 
Constructor Summary
protected PageContext(JspFactory fac, Servlet s, ServletRequest req, ServletResponse res, boolean needsSession, int bufferSize, boolean autoflush)
          XXX
 
Method Summary
protected  void _checkForNameCollision(java.lang.String name, int scope)
          XXX
protected abstract  JspWriter createInitialOut(int bufferSize, boolean autoflush)
          XXX
abstract  void forward(java.lang.String urlPath)
          XXX
 java.lang.Object getAttribute(java.lang.String name)
          XXX
 java.util.Enumeration getAttributesInScope(int scope)
          XXX
 int getAttributesScope(java.lang.String name)
          XXX
 java.lang.Exception getException()
           
 JspFactory getFactory()
           
 JspWriter getInitialOut()
           
 boolean getNeedsSession()
           
 JspWriter getOut()
           
 int getOutBufferSize()
           
 Servlet getServlet()
           
 ServletConfig getServletConfig()
           
 ServletContext getServletContext()
           
 ServletRequest getServletRequest()
           
 ServletResponse getServletResponse()
           
 HttpSession getSession()
           
abstract  void include(java.lang.String urlPath, JspWriter out)
          XXX
 boolean isAutoFlush()
           
 boolean isOutBuffered()
           
 void removeAttribute(java.lang.String name)
          XXX
 void removeAttributeInScope(java.lang.String name, int scope)
          XXX
 void setAttribute(java.lang.String name, java.lang.Object attribute)
          XXX
 void setAttributeWithScope(java.lang.String name, java.lang.Object attribute, int scope)
          XXX
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPCONTEXT

public static final java.lang.String APPCONTEXT
XXX

CONFIG

public static final java.lang.String CONFIG
XXX

EXCEPTION

public static final java.lang.String EXCEPTION
XXX

OUT

public static final java.lang.String OUT
XXX

PAGE

public static final java.lang.String PAGE
XXX

PAGECONTEXT

public static final java.lang.String PAGECONTEXT
XXX

REQUEST

public static final java.lang.String REQUEST
XXX

RESPONSE

public static final java.lang.String RESPONSE
XXX

SESSION

public static final java.lang.String SESSION
XXX

APPLICATION_SCOPE

public static final int APPLICATION_SCOPE
XXX

PAGE_SCOPE

public static final int PAGE_SCOPE
XXX

REQUEST_SCOPE

public static final int REQUEST_SCOPE
XXX

SESSION_SCOPE

public static final int SESSION_SCOPE
XXX

DEFAULT_BUFFER

public static final int DEFAULT_BUFFER
XXX

NO_BUFFER

public static final int NO_BUFFER
XXX

attributes

protected transient java.util.Hashtable attributes
XXX [mjw] Why transient?

context

protected ServletContext context
XXX

factory

protected JspFactory factory
XXX

needsSession

protected boolean needsSession
XXX

out

protected transient JspWriter out
XXX [mjw] Why transient?

request

protected transient ServletRequest request
XXX [mjw] Why transient?

response

protected transient ServletResponse response
XXX [mjw] Why transient?

servlet

protected Servlet servlet
XXX

session

protected transient HttpSession session
XXX [mjw] Why transient?
Constructor Detail

PageContext

protected PageContext(JspFactory fac,
                      Servlet s,
                      ServletRequest req,
                      ServletResponse res,
                      boolean needsSession,
                      int bufferSize,
                      boolean autoflush)
               throws java.io.IOException,
                      java.lang.IllegalStateException,
                      java.lang.IllegalArgumentException
XXX
Parameters:
fac - XXX
s - XXX
req - XXX
res - XXX
needsSession - XXX
bufferSize - XXX
autoflush - XXX
Throws:
java.io.IOException - XXX
java.lang.IllegalStateException - XXX
java.lang.IllegalArgumentException - XXX
Method Detail

_checkForNameCollision

protected void _checkForNameCollision(java.lang.String name,
                                      int scope)
                               throws java.lang.IllegalArgumentException
XXX
Parameters:
name - XXX
scope - XXX
Throws:
java.lang.IllegalArgumentException -  

getAttribute

public java.lang.Object getAttribute(java.lang.String name)
XXX
Parameters:
name -  
Returns:
XXX

getAttributesScope

public int getAttributesScope(java.lang.String name)
XXX
Parameters:
name - XXX
Returns:
XXX

getAttributesInScope

public java.util.Enumeration getAttributesInScope(int scope)
XXX
Parameters:
scope - XXX
Returns:
XXX

removeAttribute

public void removeAttribute(java.lang.String name)
XXX
Parameters:
name - XXX

removeAttributeInScope

public void removeAttributeInScope(java.lang.String name,
                                   int scope)
XXX
Parameters:
name - XXX
scope - XXX

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object attribute)
                  throws java.lang.NullPointerException
XXX
Parameters:
name - XXX
attribute - XXX
Throws:
java.lang.NullPointerException - XXX

setAttributeWithScope

public void setAttributeWithScope(java.lang.String name,
                                  java.lang.Object attribute,
                                  int scope)
                           throws java.lang.IllegalArgumentException,
                                  java.lang.NullPointerException
XXX
Parameters:
name - XXX
attribute - XXX
scope - XXX
Throws:
java.lang.IllegalArgumentException - XXX
java.lang.NullPointerException - XXX

getException

public java.lang.Exception getException()

getFactory

public JspFactory getFactory()

getInitialOut

public JspWriter getInitialOut()

getNeedsSession

public boolean getNeedsSession()

getOut

public JspWriter getOut()

getOutBufferSize

public int getOutBufferSize()

getServlet

public Servlet getServlet()

getServletConfig

public ServletConfig getServletConfig()

getServletContext

public ServletContext getServletContext()

getServletRequest

public ServletRequest getServletRequest()

getServletResponse

public ServletResponse getServletResponse()

getSession

public HttpSession getSession()

isAutoFlush

public boolean isAutoFlush()

isOutBuffered

public boolean isOutBuffered()

createInitialOut

protected abstract JspWriter createInitialOut(int bufferSize,
                                              boolean autoflush)
                                       throws java.io.IOException,
                                              java.lang.IllegalArgumentException
XXX
Parameters:
bufferSize - XXX
autoflush - XXX
Throws:
java.io.IOException - XXX
java.lang.IllegalArgumentException - XXX

forward

public abstract void forward(java.lang.String urlPath)
                      throws java.io.IOException,
                             ServletException,
                             java.lang.IllegalArgumentException,
                             java.lang.IllegalStateException,
                             java.lang.SecurityException
XXX
Parameters:
urlPath -  
Throws:
java.io.IOException -  
ServletException -  
java.lang.IllegalArgumentException -  
java.lang.IllegalStateException -  
java.lang.SecurityException -  

include

public abstract void include(java.lang.String urlPath,
                             JspWriter out)
                      throws java.io.IOException,
                             ServletException,
                             java.lang.IllegalArgumentException,
                             java.lang.SecurityException
XXX
Parameters:
urlPath -  
out -  
Throws:
java.io.IOException -  
ServletException -  
java.lang.IllegalArgumentException -  
java.lang.SecurityException -