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-08 07:01:22 +1000 (Sun, 08 Apr 2012) $
  • Constructor Details

    • UrlPreparer

      public UrlPreparer(String url)
      Constructor.
      Parameters:
      url - The URL to be used as a preparer.
  • Method Details

    • 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.