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:
    `ComponentEventRequestHandler`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `block​(java.lang.String path)` | Tells whether the access to the resource with this path should be blocked or not.

- - ### Method Detail

    - #### block

          boolean block​(java.lang.String path)

      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.