public class JspTilesRequestContext extends TilesRequestContextWrapper implements TilesRequestContext
| Constructor and Description |
|---|
JspTilesRequestContext(ServletContext context,
PageContext pageContext)
Deprecated.
|
JspTilesRequestContext(TilesRequestContext enclosedRequest,
PageContext pageContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(java.lang.String path)
Dispatches a path.
|
PageContext |
getPageContext()
Returns the page context that originated the request.
|
java.io.PrintWriter |
getPrintWriter()
Returns a print writer to be used to write directly in the response.
|
java.lang.Object[] |
getRequestObjects()
Returns the original request objects used to create this request.
|
HttpServletResponse |
getResponse()
Deprecated.
Use
getPageContext() or getPrintWriter(). |
java.io.Writer |
getWriter()
Returns a writer to be used to write directly in the response.
|
void |
include(java.lang.String path)
Includes the response from the specified URL in the current response output.
|
getApplicationContext, getHeader, getHeaderValues, getOutputStream, getParam, getParamValues, getRequest, getRequestLocale, getRequestScope, getSessionScope, getWrappedRequest, isResponseCommitted, isUserInRole, setContentTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApplicationContext, getHeader, getHeaderValues, getOutputStream, getParam, getParamValues, getRequest, getRequestLocale, getRequestScope, getSessionScope, isResponseCommitted, isUserInRole, setContentTypepublic 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.public void dispatch(java.lang.String path)
throws java.io.IOException
dispatch in interface TilesRequestContextdispatch in class TilesRequestContextWrapperpath - 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 TilesRequestContextinclude in class TilesRequestContextWrapperpath - The path to include.java.io.IOException - If something goes wrong during inclusion.public java.io.PrintWriter getPrintWriter()
throws java.io.IOException
getPrintWriter in interface TilesRequestContextgetPrintWriter in class TilesRequestContextWrapperjava.io.IOException - If something goes wrong when getting the print
writer.public java.io.Writer getWriter()
throws java.io.IOException
getWriter in interface TilesRequestContextgetWriter in class TilesRequestContextWrapperjava.io.IOException - If something goes wrong when getting the writer.public java.lang.Object[] getRequestObjects()
getRequestObjects in interface TilesRequestContextgetRequestObjects in class TilesRequestContextWrapperpublic PageContext getPageContext()
@Deprecated public HttpServletResponse getResponse()
PageContext#getOut().getResponse in interface TilesRequestContextgetResponse in class TilesRequestContextWrapper