Interface ContextHandler.AliasCheck

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

@Deprecated(since="2021-05-27") public static interface ContextHandler.AliasCheck
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Interface to check aliases
  • Method Summary

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

    • check

      boolean check(String path, Resource resource)
      Deprecated.
      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.