Save This Page
Home » tiles-2.0.6-src » org.apache.tiles.servlet » context » [javadoc | source]
org.apache.tiles.servlet.context
public class: ServletTilesRequestContext [javadoc | source]
java.lang.Object
   org.apache.tiles.servlet.context.ServletTilesApplicationContext
      org.apache.tiles.servlet.context.ServletTilesRequestContext

All Implemented Interfaces:
    TilesRequestContext, TilesApplicationContext

Direct Known Subclasses:
    JspTilesRequestContext

Servlet-based implementation of the TilesApplicationContext interface.
Constructor:
 public ServletTilesRequestContext(ServletContext servletContext,
    HttpServletRequest request,
    HttpServletResponse response) 
    Creates a new instance of ServletTilesRequestContext.
    Parameters:
    servletContext - The servlet context.
    request - The request object.
    response - The response object.
Method from org.apache.tiles.servlet.context.ServletTilesRequestContext Summary:
dispatch,   forward,   getHeader,   getHeaderValues,   getParam,   getParamValues,   getRequest,   getRequestLocale,   getRequestScope,   getResponse,   getSessionScope,   include,   initialize,   isUserInRole,   release,   wrapServletException
Methods from org.apache.tiles.servlet.context.ServletTilesApplicationContext:
createRequestContext,   getApplicationScope,   getInitParams,   getResource,   getResources,   getServletContext,   initialize,   release
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tiles.servlet.context.ServletTilesRequestContext Detail:
 public  void dispatch(String path) throws IOException 
    {@inheritDoc}
 protected  void forward(String path) throws IOException 
    Forwards to a path.
 public Map getHeader() 
    {@inheritDoc}
 public Map getHeaderValues() 
    {@inheritDoc}
 public Map getParam() 
    {@inheritDoc}
 public Map getParamValues() 
    {@inheritDoc}
 public HttpServletRequest getRequest() 
    {@inheritDoc}
 public Locale getRequestLocale() 
    {@inheritDoc}
 public Map getRequestScope() 
    {@inheritDoc}
 public HttpServletResponse getResponse() 
    {@inheritDoc}
 public Map getSessionScope() 
    {@inheritDoc}
 public  void include(String path) throws IOException 
    {@inheritDoc}
 public  void initialize(HttpServletRequest request,
    HttpServletResponse response) 
 public boolean isUserInRole(String role) 
    {@inheritDoc}
 public  void release() 

    Release references to allocated resources acquired in initialize() of via subsequent processing. After this method is called, subsequent calls to any other method than initialize() will return undefined results.

 protected IOException wrapServletException(ServletException ex,
    String message) 
    Wraps a ServletException to create an IOException with the root cause if present.