Package org.apache.tiles.request
Class AbstractViewRequest
java.lang.Object
org.apache.tiles.request.AbstractRequest
org.apache.tiles.request.DispatchRequestWrapper
org.apache.tiles.request.AbstractViewRequest
- All Implemented Interfaces:
- DispatchRequest,- Request,- RequestWrapper
- Direct Known Subclasses:
- FreemarkerRequest,- JspRequest,- VelocityRequest
Base class for "view" requests, i.e. requests created into view technologies,
 such as JSP, Velocity and Freemarker. In particular, all calls to
 
dispatch(String) will cause an inclusion and never a forward.- 
Field SummaryFields inherited from class org.apache.tiles.request.AbstractRequestFORCE_INCLUDE_ATTRIBUTE_NAMEFields inherited from interface org.apache.tiles.request.RequestAPPLICATION_SCOPE, REQUEST_SCOPE
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.tiles.request.DispatchRequestWrappergetApplicationContext, getAvailableScopes, getContext, getHeader, getHeaderValues, getOutputStream, getParam, getParamValues, getPrintWriter, getRequestLocale, getResponseHeaders, getWrappedRequest, getWriter, isResponseCommitted, isUserInRole, setContentTypeMethods inherited from class org.apache.tiles.request.AbstractRequestisForceInclude, setForceInclude
- 
Constructor Details- 
AbstractViewRequestConstructor.- Parameters:
- request- The base request.
 
 
- 
- 
Method Details- 
dispatchDescription copied from class:DispatchRequestWrapperDispatches the request to a specified path.- Specified by:
- dispatchin interface- DispatchRequest
- Overrides:
- dispatchin class- DispatchRequestWrapper
- Parameters:
- path- The path to dispatch to.
- Throws:
- IOException- If something goes wrong during dispatching.
 
- 
includeDescription copied from class:DispatchRequestWrapperIncludes the response from the specified URL in the current response output.- Specified by:
- includein interface- DispatchRequest
- Overrides:
- includein class- DispatchRequestWrapper
- Parameters:
- path- The path to include.
- Throws:
- IOException- If something goes wrong during inclusion.
 
- 
doIncludeIncludes the result. By default, uses the wrapped request for the inclusion.- Parameters:
- path- The path whose result will be included.
- Throws:
- IOException- If something goes wrong.
 
 
-