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

    Modifier and Type
    Method
    Description
    boolean
    block(String path)
    Tells whether the access to the resource with this path should be blocked or not.
  • Method Details

    • 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.