|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.servlet.context.ServletTilesApplicationContext
org.apache.tiles.servlet.context.ServletTilesRequestContext
org.apache.tiles.jsp.context.JspTilesRequestContext
public class JspTilesRequestContext
Context implementation used for executing tiles within a jsp tag library.
Constructor Summary | |
---|---|
JspTilesRequestContext(javax.servlet.ServletContext context,
javax.servlet.jsp.PageContext pageContext)
Constructor. |
Method Summary | |
---|---|
void |
dispatch(java.lang.String path)
Dispatches a path. |
javax.servlet.http.HttpServletResponse |
getResponse()
Get the underlying response. |
void |
include(java.lang.String path)
Includes the response from the specified URL in the current response output. |
Methods inherited from class org.apache.tiles.servlet.context.ServletTilesRequestContext |
---|
forward, getHeader, getHeaderValues, getParam, getParamValues, getRequest, getRequestLocale, getRequestScope, getSessionScope, initialize, isUserInRole, release, wrapServletException |
Methods inherited from class org.apache.tiles.servlet.context.ServletTilesApplicationContext |
---|
createRequestContext, getApplicationScope, getInitParams, getResource, getResources, getServletContext, initialize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.tiles.context.TilesRequestContext |
---|
getHeader, getHeaderValues, getParam, getParamValues, getRequest, getRequestLocale, getRequestScope, getSessionScope, isUserInRole |
Constructor Detail |
---|
public JspTilesRequestContext(javax.servlet.ServletContext context, javax.servlet.jsp.PageContext pageContext)
context
- The servlet context to use.pageContext
- The page context to use.Method Detail |
---|
public void dispatch(java.lang.String path) throws java.io.IOException
dispatch
in interface TilesRequestContext
dispatch
in class ServletTilesRequestContext
path
- The path to dispatch to.
java.io.IOException
- If something goes wrong during dispatching.ServletTilesRequestContext.dispatch(java.lang.String)
public void include(java.lang.String path) throws java.io.IOException
include
in interface TilesRequestContext
include
in class ServletTilesRequestContext
path
- The path to include.
java.io.IOException
- If something goes wrong during inclusion.public javax.servlet.http.HttpServletResponse getResponse()
getResponse
in interface TilesRequestContext
getResponse
in class ServletTilesRequestContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |