| javax.servlet.jsp.PageContext com.salmonllc.jsp.engine.PageContextImpl
Method Summary | |
public void | clearWriterStack() | protected JspWriter | createOut(int bufferSize, boolean autoFlush) | public Object | findAttribute(String name) Searches for the named attribute in page, request, session (if valid), and application scope(s) in order and returns the value associated or null. | public void | forward(String relativeUrlPath) | public Object | getAttribute(String name) | public Object | getAttribute(String name, int scope) | public Enumeration | getAttributeNamesInScope(int scope) | public int | getAttributesScope(String name) | public Exception | getException() | public JspWriter | getOut() | public Object | getPage() | public ServletRequest | getRequest() | public ServletResponse | getResponse() | public Servlet | getServlet() | public ServletConfig | getServletConfig() | public ServletContext | getServletContext() | public HttpSession | getSession() | public Stack | getStack() returns the stack of writers used by the page. | public void | handlePageException(Exception e) This method is intended to process an unhandled "page" level exception by redirecting the exception to either the specified error page for this JSP, or if none was specified, to perform some implementation dependent action. | public void | handlePageException(Throwable throwable) | public void | include(String relativeUrlPath) Causes the resource specified to be processed as part of the current ServletRequest and ServletResponse being processed by the calling Thread. | public void | initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) The initialize emthod is called to initialize an uninitialized PageContext so that it may be used by a JSP Implementation class to service an incoming request and response wihtin it's _jspService() method.
This method is typically called from JspFactory.getPageContext() in order to initialize state.
This method is required to create an initial JspWriter, and associate the "out" name in page scope with this newly created object. | public JspWriter | popBody() | public BodyContent | pushBody() | public void | release() This method shall "reset" the internal state of a PageContext, releasing all internal references, and preparing the PageContext for potential reuse by a later invocation of initialize(). | public void | removeAttribute(String name) | public void | removeAttribute(String name, int scope) | public void | replaceResponse(ServletResponse res) | public void | setAttribute(String name, Object attribute) | public void | setAttribute(String name, Object o, int scope) | public void | setPrintContent(boolean print) |
_autoFlush | protected boolean _autoFlush(Code) | | |
_bufferSize | protected int _bufferSize(Code) | | |
_needsSession | protected boolean _needsSession(Code) | | |
clearWriterStack | public void clearWriterStack() throws IOException(Code) | | Empties the stack of JSPWriters used by this page context
|
findAttribute | public Object findAttribute(String name)(Code) | | Searches for the named attribute in page, request, session (if valid), and application scope(s) in order and returns the value associated or null.
|
forward | public void forward(String relativeUrlPath) throws ServletException, IOException(Code) | | This method is used to re-direct, or "forward" the current ServletRequest and ServletResponse to another active component in the application
|
getAttribute | public Object getAttribute(String name)(Code) | | return the object associated with the name in the page scope or null
|
getAttribute | public Object getAttribute(String name, int scope)(Code) | | return the object associated with the name in the page scope or null
|
getAttributeNamesInScope | public Enumeration getAttributeNamesInScope(int scope)(Code) | | Returns an enumeration of all the attributes in a specified scope
|
getAttributesScope | public int getAttributesScope(String name)(Code) | | Returns the scope of the object associated with the name specified or 0
|
getException | public Exception getException()(Code) | | Returns any exception passed to this as an errorpage
|
getOut | public JspWriter getOut()(Code) | | Returns the current JspWriter stream being used for client response
|
getPage | public Object getPage()(Code) | | Returns the Page implementation class instance (Servlet) associated with this PageContext
|
getServlet | public Servlet getServlet()(Code) | | Returns the Servlet for this PageContext
|
getServletConfig | public ServletConfig getServletConfig()(Code) | | Returns the ServletConfig for this PageContext
|
getServletContext | public ServletContext getServletContext()(Code) | | Returns the ServletContext for this PageContext
|
getStack | public Stack getStack()(Code) | | returns the stack of writers used by the page.
|
handlePageException | public void handlePageException(Exception e) throws IOException, ServletException(Code) | | This method is intended to process an unhandled "page" level exception by redirecting the exception to either the specified error page for this JSP, or if none was specified, to perform some implementation dependent action.
|
handlePageException | public void handlePageException(Throwable throwable) throws ServletException, IOException(Code) | | This method is intended to process an unhandled "page" level exception by redirecting the exception to either the specified error page for this JSP, or if none was specified, to perform some implementation dependent action
|
include | public void include(String relativeUrlPath) throws ServletException, IOException(Code) | | Causes the resource specified to be processed as part of the current ServletRequest and ServletResponse being processed by the calling Thread.
|
initialize | public void initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) throws IOException, IllegalStateException, IllegalArgumentException(Code) | | The initialize emthod is called to initialize an uninitialized PageContext so that it may be used by a JSP Implementation class to service an incoming request and response wihtin it's _jspService() method.
This method is typically called from JspFactory.getPageContext() in order to initialize state.
This method is required to create an initial JspWriter, and associate the "out" name in page scope with this newly created object.
|
popBody | public JspWriter popBody()(Code) | | Return the previous JspWriter "out" saved by the matching pushBody(), and update the value of the "out" attribute in the page scope attribute namespace of the PageConxtext
|
pushBody | public BodyContent pushBody()(Code) | | Return a new BodyContent object, save the current "out" JspWriter, and update the value of the "out" attribute in the page scope attribute namespace of the PageContext
|
release | public void release()(Code) | | This method shall "reset" the internal state of a PageContext, releasing all internal references, and preparing the PageContext for potential reuse by a later invocation of initialize().
|
removeAttribute | public void removeAttribute(String name)(Code) | | remove the object reference associated with the specified name
|
removeAttribute | public void removeAttribute(String name, int scope)(Code) | | remove the object reference associated with the specified name
|
replaceResponse | public void replaceResponse(ServletResponse res)(Code) | | Changes the servlet response for the context
|
setAttribute | public void setAttribute(String name, Object attribute)(Code) | | register the name and object specified with appropriate scope semantics
|
setAttribute | public void setAttribute(String name, Object o, int scope)(Code) | | register the name and object specified with appropriate scope semantics
|
setPrintContent | public void setPrintContent(boolean print)(Code) | | Set whether the Impl will return a real BodyContent or a stub
|
Methods inherited from javax.servlet.jsp.PageContext | abstract public void forward(String relativeUrlPath) throws ServletException, IOException(Code)(Java Doc) public ErrorData getErrorData()(Code)(Java Doc) abstract public Exception getException()(Code)(Java Doc) abstract public Object getPage()(Code)(Java Doc) abstract public ServletRequest getRequest()(Code)(Java Doc) abstract public ServletResponse getResponse()(Code)(Java Doc) abstract public ServletConfig getServletConfig()(Code)(Java Doc) abstract public ServletContext getServletContext()(Code)(Java Doc) abstract public HttpSession getSession()(Code)(Java Doc) abstract public void handlePageException(Exception e) throws ServletException, IOException(Code)(Java Doc) abstract public void handlePageException(Throwable t) throws ServletException, IOException(Code)(Java Doc) abstract public void include(String relativeUrlPath) throws ServletException, IOException(Code)(Java Doc) abstract public void include(String relativeUrlPath, boolean flush) throws ServletException, IOException(Code)(Java Doc) abstract public void initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) throws IOException, IllegalStateException, IllegalArgumentException(Code)(Java Doc) public BodyContent pushBody()(Code)(Java Doc) abstract public void release()(Code)(Java Doc)
|
|
|