Package org.apache.tapestry5.services
Interface ClasspathAssetProtectionRule
@UsesOrderedConfiguration(ClasspathAssetProtectionRule.class)
public interface ClasspathAssetProtectionRule
Chain-of-responsibility service which defines rules for blocking access to classpath resources
based on their paths. Access is blocked if any rule says it should be blocked.
- See Also:
-
Method Summary
-
Method Details
-
block
Tells whether the access to the resource with this path should be blocked or not. If this rule doesn't concern the given path, it should return false.
-