org.apache.tapestry5.services

## Interface ClasspathAssetProtectionRule

-     @UsesOrderedConfiguration(value=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 and Description
    --- | ---
    `boolean` | `block(String path)` Tells whether the access to the resource with this path should be blocked or not.

- - ### Method Detail

    - #### block

          boolean block(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.

5.6.1 - Copyright © 2003-2020 The Apache Software Foundation.