Package org.eclipse.jetty.server.handler
Interface ContextHandler.AliasCheck
-
- All Known Implementing Classes:
AllowedResourceAliasChecker,AllowSymLinkAliasChecker,ContextHandler.ApproveAliases,ContextHandler.ApproveNonExistentDirectoryAliases,SameFileAliasChecker,SymlinkAllowedResourceAliasChecker
- Enclosing class:
- ContextHandler
public static interface ContextHandler.AliasCheckInterface to check aliases
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheck(java.lang.String path, Resource resource)Check an alias
-
-
-
Method Detail
-
check
boolean check(java.lang.String path, Resource resource)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.
-
-