org.apache.tiles.compat.preparer
public class: UrlPreparer [javadoc |
source]
java.lang.Object
org.apache.tiles.preparer.ViewPreparerSupport
org.apache.tiles.compat.preparer.UrlPreparer
All Implemented Interfaces:
ViewPreparer
Uses a URL that acts as a preparer. When
org.apache.tiles.preparer.ViewPreparer#execute(TilesRequestContext, AttributeContext)
is called, the URL is got, but its response is discarded.
- version:
$
- Rev: 709151 $ $Date: 2008-10-30 13:36:29 +0100 (gio, 30 ott 2008) $
- since:
2.1.0
-
Method from org.apache.tiles.compat.preparer.UrlPreparer Summary: |
---|
execute |
Methods from org.apache.tiles.preparer.ViewPreparerSupport: |
---|
execute |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from org.apache.tiles.compat.preparer.UrlPreparer Detail: |
public void execute(TilesRequestContext tilesContext,
AttributeContext attributeContext) {
try {
tilesContext.include(url);
} catch (IOException e) {
throw new PreparerException("The inclusion of the URL " + url
+ " threw an I/O exception", e);
}
}
|