Class AbstractAsset
java.lang.Object
org.apache.tapestry5.internal.services.AbstractAsset
- All Implemented Interfaces:
Asset
- Direct Known Subclasses:
UrlAsset
Base class for assets.
- Since:
- 5.1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the Asset is invariant (meaning that it returns the same value fromAsset.toClientURL()
at all times).toString()
ReturnsAsset.toClientURL()
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.tapestry5.Asset
getResource, toClientURL
-
Constructor Details
-
AbstractAsset
-
-
Method Details
-
isInvariant
Description copied from interface:Asset
Returns true if the Asset is invariant (meaning that it returns the same value fromAsset.toClientURL()
at all times). Most Assets are invariant. Assets that are used as binding values will be cached more aggressively by Tapestry if they are invariant. This default implementation returnsfalse
- Specified by:
isInvariant
in interfaceAsset
- Returns:
- true if invariant
- See Also:
-
toString
ReturnsAsset.toClientURL()
.
-