|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.apache.tiles.context.TilesRequestContextWrapper
org.apache.tiles.jsp.context.JspTilesRequestContext
public class JspTilesRequestContext
Context implementation used for executing tiles within a jsp tag library.
| Constructor Summary | |
|---|---|
JspTilesRequestContext(ServletContext context,
PageContext pageContext)
Deprecated. Use JspTilesRequestContext(TilesRequestContext, PageContext). |
|
JspTilesRequestContext(TilesRequestContext enclosedRequest,
PageContext pageContext)
Constructor. |
|
| Method Summary | |
|---|---|
void |
dispatch(String path)
Dispatches a path. |
PageContext |
getPageContext()
Returns the page context that originated the request. |
PrintWriter |
getPrintWriter()
Returns a print writer to be used to write directly in the response. |
Object[] |
getRequestObjects()
Returns the original request objects used to create this request. |
HttpServletResponse |
getResponse()
Deprecated. Use getPageContext() or getPrintWriter(). |
Writer |
getWriter()
Returns a writer to be used to write directly in the response. |
void |
include(String path)
Includes the response from the specified URL in the current response output. |
| Methods inherited from class org.apache.tiles.context.TilesRequestContextWrapper |
|---|
getApplicationContext, getHeader, getHeaderValues, getOutputStream, getParam, getParamValues, getRequest, getRequestLocale, getRequestScope, getSessionScope, getWrappedRequest, isResponseCommitted, isUserInRole, setContentType |
| 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 |
|---|
getApplicationContext, getHeader, getHeaderValues, getOutputStream, getParam, getParamValues, getRequest, getRequestLocale, getRequestScope, getSessionScope, isResponseCommitted, isUserInRole, setContentType |
| Constructor Detail |
|---|
public JspTilesRequestContext(TilesRequestContext enclosedRequest,
PageContext pageContext)
enclosedRequest - The request that is wrapped here.pageContext - The page context to use.
@Deprecated
public JspTilesRequestContext(ServletContext context,
PageContext pageContext)
JspTilesRequestContext(TilesRequestContext, PageContext).
context - The servlet context to use.pageContext - The page context to use.| Method Detail |
|---|
public void dispatch(String path)
throws IOException
dispatch in interface TilesRequestContextdispatch in class TilesRequestContextWrapperpath - The path to dispatch to.
IOException - If something goes wrong during dispatching.ServletTilesRequestContext.dispatch(java.lang.String)
public void include(String path)
throws IOException
include in interface TilesRequestContextinclude in class TilesRequestContextWrapperpath - The path to include.
IOException - If something goes wrong during inclusion.
public PrintWriter getPrintWriter()
throws IOException
getPrintWriter in interface TilesRequestContextgetPrintWriter in class TilesRequestContextWrapperIOException - If something goes wrong when getting the print
writer.
public Writer getWriter()
throws IOException
getWriter in interface TilesRequestContextgetWriter in class TilesRequestContextWrapperIOException - If something goes wrong when getting the writer.public Object[] getRequestObjects()
getRequestObjects in interface TilesRequestContextgetRequestObjects in class TilesRequestContextWrapperpublic PageContext getPageContext()
@Deprecated public HttpServletResponse getResponse()
getPageContext() or getPrintWriter().
PageContext#getOut().
getResponse in interface TilesRequestContextgetResponse in class TilesRequestContextWrapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||