org.apache.tiles.request
Class AbstractRequest

Package class diagram package AbstractRequest
java.lang.Object
  extended by org.apache.tiles.request.AbstractRequest
All Implemented Interfaces:
DispatchRequest, Request
Direct Known Subclasses:
AbstractClientRequest, DispatchRequestWrapper

public abstract class AbstractRequest
extends Object
implements DispatchRequest

Base request.

Version:
$Rev: 1306435 $ $Date: 2010-11-14 21:32:50 +0100 (dom, 14 nov 2010)$

Field Summary
static String FORCE_INCLUDE_ATTRIBUTE_NAME
          Name of the attribute used to store the force-include option.
 
Constructor Summary
AbstractRequest()
           
 
Method Summary
protected  boolean isForceInclude()
          Checks if, when dispatching to a resource, the result must be included and not forwarded to.
protected  void setForceInclude(boolean forceInclude)
          Sets the flag to force inclusion at next dispatch.
 
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.request.DispatchRequest
dispatch, include, setContentType
 
Methods inherited from interface org.apache.tiles.request.Request
getApplicationContext, getAvailableScopes, getContext, getHeader, getHeaderValues, getOutputStream, getParam, getParamValues, getPrintWriter, getRequestLocale, getResponseHeaders, getWriter, isResponseCommitted, isUserInRole
 

Field Detail

FORCE_INCLUDE_ATTRIBUTE_NAME

public static final String FORCE_INCLUDE_ATTRIBUTE_NAME
Name of the attribute used to store the force-include option.

Constructor Detail

AbstractRequest

public AbstractRequest()
Method Detail

setForceInclude

protected void setForceInclude(boolean forceInclude)
Sets the flag to force inclusion at next dispatch.

Parameters:
forceInclude - true means that, at the next dispatch, response will be included and never forwarded.

isForceInclude

protected boolean isForceInclude()
Checks if, when dispatching to a resource, the result must be included and not forwarded to.

Returns:
true if inclusion is forced.


Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.