Package org.eclipse.jetty.server.handler
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.AliasCheckDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Interface to check aliases
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancheck(java.lang.String path, Resource resource)Deprecated.Check an alias
-
-
-
Method Detail
-
check
boolean check(java.lang.String path, Resource resource)Deprecated.Check an alias- Parameters:
path- The path the aliased resource was created forresource- The aliased resourced- Returns:
- True if the resource is OK to be served.
-
-