Class PageContext
java.lang.Object
javax.servlet.jsp.PageContext
XXX
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXXXstatic final intXXXstatic final StringXXXstatic final StringXXXstatic final StringXXXstatic final StringXXXstatic final intXXXstatic final StringXXXstatic final StringXXXstatic final intXXXstatic final StringXXXstatic final StringXXXstatic final intXXX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ObjectfindAttribute(String name) XXXabstract voidXXXabstract ObjectgetAttribute(String name) XXXabstract ObjectgetAttribute(String name, int scope) XXXabstract EnumerationgetAttributeNamesInScope(int scope) XXXabstract intgetAttributesScope(String name) XXXabstract ExceptionXXXabstract JspWritergetOut()XXXabstract ObjectgetPage()XXXabstract ServletRequestXXXabstract ServletResponseXXXabstract ServletConfigXXXabstract ServletContextXXXabstract HttpSessionXXXabstract voidhandlePageException(Exception exception) XXXabstract voidXXXabstract voidinitialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoflush) XXXabstract voidrelease()XXXabstract voidremoveAttribute(String name) XXXabstract voidremoveAttribute(String name, int scope) XXXabstract voidsetAttribute(String name, Object attribute) XXXabstract voidsetAttribute(String name, Object attribute, int scope) XXX
-
Field Details
-
PAGE_SCOPE
public static final int PAGE_SCOPEXXX- See Also:
-
REQUEST_SCOPE
public static final int REQUEST_SCOPEXXX- See Also:
-
SESSION_SCOPE
public static final int SESSION_SCOPEXXX- See Also:
-
APPLICATION_SCOPE
public static final int APPLICATION_SCOPEXXX- See Also:
-
PAGE
-
PAGECONTEXT
-
REQUEST
-
RESPONSE
-
CONFIG
-
SESSION
-
OUT
-
APPLICATION
-
EXCEPTION
-
-
Constructor Details
-
PageContext
public PageContext()
-
-
Method Details
-
initialize
public abstract void initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoflush) throws IOException, IllegalArgumentException, IllegalStateException XXX- Parameters:
servlet- XXXrequest- XXXresponse- XXXerrorPageURL- XXXneedsSession- XXXbufferSize- XXXautoflush- XXX- Throws:
IOException- XXXIllegalStateException- XXXIllegalArgumentException- XXX
-
release
public abstract void release()XXX -
setAttribute
XXX- Parameters:
name- XXXattribute- XXX- Throws:
NullPointerException- XXX
-
setAttribute
public abstract void setAttribute(String name, Object attribute, int scope) throws IllegalArgumentException, NullPointerException XXX- Parameters:
name- XXXattribute- XXXscope- XXX- Throws:
IllegalArgumentException- XXXNullPointerException- XXX
-
getAttribute
public abstract Object getAttribute(String name) throws IllegalArgumentException, NullPointerException XXX- Parameters:
name- XXX- Returns:
- XXX
- Throws:
IllegalArgumentException- XXXNullPointerException- XXX
-
getAttribute
public abstract Object getAttribute(String name, int scope) throws IllegalArgumentException, NullPointerException XXX- Parameters:
name- XXX- Returns:
- XXX
- Throws:
IllegalArgumentException- XXXNullPointerException- XXX
-
findAttribute
-
removeAttribute
-
removeAttribute
-
getAttributesScope
-
getAttributeNamesInScope
XXX- Parameters:
scope- XXX- Returns:
- XXX
-
getOut
-
getSession
-
getPage
-
getRequest
-
getResponse
-
getException
-
getServletConfig
-
getServletContext
-
forward
public abstract void forward(String urlPath) throws IOException, ServletException, IllegalArgumentException, IllegalStateException, SecurityException XXX- Parameters:
urlPath- XXX- Throws:
IOException- XXXServletException- XXXIllegalArgumentException- XXXIllegalStateException- XXXSecurityException- XXX
-
include
public abstract void include(String urlPath) throws IOException, ServletException, IllegalArgumentException, SecurityException XXX- Parameters:
urlPath- XXX- Throws:
IOException- XXXServletException- XXXIllegalArgumentException- XXXSecurityException- XXX
-
handlePageException
XXX- Parameters:
exception- XXX- Throws:
IOException- XXXServletException- XXX
-