Class UrlPreparer

  • All Implemented Interfaces:
    ViewPreparer

    public class UrlPreparer
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      UrlPreparer​(java.lang.String url)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Constructor Detail

      • UrlPreparer

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

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