Interface ContextHandler.AliasCheck

All Known Implementing Classes:
AllowedResourceAliasChecker, AllowSymLinkAliasChecker, ContextHandler.ApproveAliases, ContextHandler.ApproveNonExistentDirectoryAliases, SameFileAliasChecker, SymlinkAllowedResourceAliasChecker
Enclosing class:
ContextHandler

public static interface ContextHandler.AliasCheck
Interface to check aliases
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    check(String pathInContext, Resource resource)
    Check an alias
  • Method Details

    • check

      boolean check(String pathInContext, Resource resource)
      Check an alias
      Parameters:
      pathInContext - The path the aliased resource was created for
      resource - The aliased resourced
      Returns:
      True if the resource is OK to be served.