Package org.eclipse.jetty.server.handler
Interface ContextHandler.AliasCheck
-
- All Known Implementing Classes:
AllowSymLinkAliasChecker,ContextHandler.ApproveAliases,ContextHandler.ApproveNonExistentDirectoryAliases
- 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(String path, org.eclipse.jetty.util.resource.Resource resource)Check an alias
-
-
-
Method Detail
-
check
boolean check(String path, org.eclipse.jetty.util.resource.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.
-
-