This project has retired. For details please refer to its Attic page.
ServletUtil (Tiles 2 2.0.7 API)

org.apache.tiles.servlet.context
Class ServletUtil

Package class diagram package ServletUtil
java.lang.Object
  extended by org.apache.tiles.servlet.context.ServletUtil

public final class ServletUtil
extends Object

Utilities for Tiles servlet support.

Since:
2.0.6
Version:
$Rev: 619574 $ $Date: 2008-02-07 20:09:33 +0100 (Thu, 07 Feb 2008) $

Field Summary
static String FORCE_INCLUDE_ATTRIBUTE_NAME
          Name of the attribute used to store the force-include option.
 
Method Summary
static boolean isForceInclude(HttpServletRequest request)
          Returns true if forced include of the result is needed.
static void setForceInclude(HttpServletRequest request, boolean forceInclude)
          Sets the option that enables the forced include of the response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

Since:
2.0.6
See Also:
Constant Field Values
Method Detail

isForceInclude

public static boolean isForceInclude(HttpServletRequest request)
Returns true if forced include of the result is needed.

Parameters:
request - The HTTP request.
Returns:
If true the include operation must be forced.
Since:
2.0.6

setForceInclude

public static void setForceInclude(HttpServletRequest request,
                                   boolean forceInclude)
Sets the option that enables the forced include of the response.

Parameters:
request - The HTTP request.
forceInclude - If true the include operation must be forced.
Since:
2.0.6


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