Home » tiles-2.2.1-src » org.apache.tiles.jsp » context » [javadoc | source]
org.apache.tiles.jsp.context
public class: JspTilesRequestContext [javadoc | source]
java.lang.Object
   org.apache.tiles.context.TilesRequestContextWrapper
      org.apache.tiles.jsp.context.JspTilesRequestContext

All Implemented Interfaces:
    TilesRequestContext

Context implementation used for executing tiles within a jsp tag library.
Constructor:
 public JspTilesRequestContext(TilesRequestContext enclosedRequest,
    PageContext pageContext) 
    Constructor.
    Parameters:
    enclosedRequest - The request that is wrapped here.
    pageContext - The page context to use.
 public JspTilesRequestContext(ServletContext context,
    PageContext pageContext) 
    Constructor.
    Parameters:
    context - The servlet context to use.
    pageContext - The page context to use.
Method from org.apache.tiles.jsp.context.JspTilesRequestContext Summary:
dispatch,   getPageContext,   getPrintWriter,   getRequestObjects,   getResponse,   getWriter,   include
Methods from org.apache.tiles.context.TilesRequestContextWrapper:
dispatch,   getApplicationContext,   getHeader,   getHeaderValues,   getOutputStream,   getParam,   getParamValues,   getPrintWriter,   getRequest,   getRequestLocale,   getRequestObjects,   getRequestScope,   getResponse,   getSessionScope,   getWrappedRequest,   getWriter,   include,   isResponseCommitted,   isUserInRole,   setContentType
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tiles.jsp.context.JspTilesRequestContext Detail:
 public  void dispatch(String path) throws IOException 
    Dispatches a path. In fact it "includes" it!
 public PageContext getPageContext() 
    Returns the page context that originated the request.
 public PrintWriter getPrintWriter() throws IOException 
    {@inheritDoc}
 public Object[] getRequestObjects() 
    {@inheritDoc}
 public HttpServletResponse getResponse() 
Deprecated! Use - #getPageContext() or #getPrintWriter() .

    Returns the response object, obtained by the JSP page context. The print writer will use the object obtained by PageContext#getOut() .
 public Writer getWriter() throws IOException 
    {@inheritDoc}
 public  void include(String path) throws IOException 
    {@inheritDoc}