Package org.eclipse.jetty.server.handler
Class ContextHandler.ApproveNonExistentDirectoryAliases
- java.lang.Object
-
- org.eclipse.jetty.server.handler.ContextHandler.ApproveNonExistentDirectoryAliases
-
- All Implemented Interfaces:
ContextHandler.AliasCheck
- Enclosing class:
- ContextHandler
@Deprecated public static class ContextHandler.ApproveNonExistentDirectoryAliases extends Object implements ContextHandler.AliasCheck
Deprecated.Approve Aliases of a non existent directory. If a directory "/foobar/" does not exist, then the resource is aliased to "/foobar". Accept such aliases.
-
-
Constructor Summary
Constructors Constructor Description ApproveNonExistentDirectoryAliases()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
check(String path, Resource resource)
Deprecated.Check an alias
-
-
-
Method Detail
-
check
public boolean check(String path, Resource resource)
Deprecated.Description copied from interface:ContextHandler.AliasCheck
Check an alias- Specified by:
check
in 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.
-
-