Package org.apache.tiles.request
Class AbstractClientRequest
java.lang.Object
org.apache.tiles.request.AbstractRequest
org.apache.tiles.request.AbstractClientRequest
- All Implemented Interfaces:
- DispatchRequest,- Request
- Direct Known Subclasses:
- ServletRequest
Base class for "client" requests, i.e. requests that come unchanged by the
 container, such as ServletRequest and PortletRequest.
- 
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 SummaryModifier and TypeMethodDescriptionvoidDispatches the request to a specified path.protected abstract voidForwards to a path.protected abstract voidIncludes the result of a path.Returns the associated application context.Returns the application scope.voidIncludes the response from the specified URL in the current response output.Methods inherited from class org.apache.tiles.request.AbstractRequestisForceInclude, setForceIncludeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.tiles.request.DispatchRequestsetContentTypeMethods inherited from interface org.apache.tiles.request.RequestgetAvailableScopes, getContext, getHeader, getHeaderValues, getOutputStream, getParam, getParamValues, getPrintWriter, getRequestLocale, getResponseHeaders, getWriter, isResponseCommitted, isUserInRole
- 
Constructor Details- 
AbstractClientRequestConstructor.- Parameters:
- applicationContext- The application context.
 
 
- 
- 
Method Details- 
dispatchDescription copied from interface:DispatchRequestDispatches the request to a specified path.- Parameters:
- path- The path to dispatch to.
- Throws:
- IOException- If something goes wrong during dispatching.
 
- 
includeDescription copied from interface:DispatchRequestIncludes the response from the specified URL in the current response output.- Parameters:
- path- The path to include.
- Throws:
- IOException- If something goes wrong during inclusion.
 
- 
getApplicationContextDescription copied from interface:RequestReturns the associated application context.- Returns:
- The application context associated to this request.
 
- 
getApplicationScopeReturns the application scope.- Returns:
- The application scope.
 
- 
doForwardForwards to a path.- Parameters:
- path- The path to forward to.
- Throws:
- IOException- If something goes wrong when forwarding.
 
- 
doIncludeIncludes the result of a path.- Parameters:
- path- The path to forward to.
- Throws:
- IOException- If something goes wrong when forwarding.
 
 
-