Package org.eclipse.jetty.server.handler
Class ContextHandler.ApproveAliases
- java.lang.Object
-
- org.eclipse.jetty.server.handler.ContextHandler.ApproveAliases
-
- All Implemented Interfaces:
ContextHandler.AliasCheck
- Enclosing class:
- ContextHandler
@Deprecated public static class ContextHandler.ApproveAliases extends java.lang.Object implements ContextHandler.AliasCheck
Deprecated.Approve all aliases.
-
-
Constructor Summary
Constructors Constructor Description ApproveAliases()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancheck(java.lang.String path, Resource resource)Deprecated.Check an alias
-
-
-
Method Detail
-
check
public boolean check(java.lang.String path, Resource resource)Deprecated.Description copied from interface:ContextHandler.AliasCheckCheck an alias- Specified by:
checkin interfaceContextHandler.AliasCheck- Parameters:
path- The path the aliased resource was created forresource- The aliased resourced- Returns:
- True if the resource is OK to be served.
-
-