Interface ContextHandler.AliasCheck

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

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

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

    • check

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