Package org.apache.tiles.request
Class AbstractRequest
java.lang.Object
org.apache.tiles.request.AbstractRequest
- All Implemented Interfaces:
- DispatchRequest,- Request
- Direct Known Subclasses:
- AbstractClientRequest,- DispatchRequestWrapper
Base request.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringName of the attribute used to store the force-include option.Fields inherited from interface org.apache.tiles.request.RequestAPPLICATION_SCOPE, REQUEST_SCOPE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanChecks if, when dispatching to a resource, the result must be included and not forwarded to.protected voidsetForceInclude(boolean forceInclude) Sets the flag to force inclusion at next dispatch.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.tiles.request.DispatchRequestdispatch, include, setContentTypeMethods inherited from interface org.apache.tiles.request.RequestgetApplicationContext, getAvailableScopes, getContext, getHeader, getHeaderValues, getOutputStream, getParam, getParamValues, getPrintWriter, getRequestLocale, getResponseHeaders, getWriter, isResponseCommitted, isUserInRole
- 
Field Details- 
FORCE_INCLUDE_ATTRIBUTE_NAMEName of the attribute used to store the force-include option.
 
- 
- 
Constructor Details- 
AbstractRequestpublic AbstractRequest()
 
- 
- 
Method Details- 
setForceIncludeprotected void setForceInclude(boolean forceInclude) Sets the flag to force inclusion at next dispatch.- Parameters:
- forceInclude-- truemeans that, at the next dispatch, response will be included and never forwarded.
 
- 
isForceIncludeprotected boolean isForceInclude()Checks if, when dispatching to a resource, the result must be included and not forwarded to.- Returns:
- trueif inclusion is forced.
 
 
-