org.apache.tiles.compat.preparer
Class UrlPreparer
java.lang.Object
org.apache.tiles.compat.preparer.UrlPreparer
- All Implemented Interfaces:
- ViewPreparer
public class UrlPreparer
- extends Object
- implements ViewPreparer
Uses a URL that acts as a preparer. When
org.apache.tiles.preparer.factory.factory.ViewPreparer#execute(Request, AttributeContext)
is called, the URL is got, but its response is discarded.
- Since:
- 2.1.0
- Version:
- $Rev: 1310865 $ $Date: 2012-04-07 17:01:22 -0400 (Sat, 07 Apr 2012) $
Method Summary |
void |
execute(org.apache.tiles.request.Request tilesContext,
AttributeContext attributeContext)
Method associated to a tile and called immediately before the tile
is included. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UrlPreparer
public UrlPreparer(String url)
- Constructor.
- Parameters:
url
- The URL to be used as a preparer.
execute
public void execute(org.apache.tiles.request.Request tilesContext,
AttributeContext attributeContext)
- Method associated to a tile and called immediately before the tile
is included.
- Specified by:
execute
in interface ViewPreparer
- Parameters:
tilesContext
- Current tiles application context.attributeContext
- Current tile context.
Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.