org.eclipse.jetty.server.handler
类 ContextHandler.ApproveNonExistentDirectoryAliases
java.lang.Object
org.eclipse.jetty.server.handler.ContextHandler.ApproveNonExistentDirectoryAliases
- 所有已实现的接口:
- ContextHandler.AliasCheck
- 包容类:
- ContextHandler
public static class ContextHandler.ApproveNonExistentDirectoryAliases
- extends Object
- implements ContextHandler.AliasCheck
Approve Aliases of a non existent directory.
If a directory "/foobar/" does not exist, then the resource is
aliased to "/foobar". Accept such aliases.
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextHandler.ApproveNonExistentDirectoryAliases
public ContextHandler.ApproveNonExistentDirectoryAliases()
check
public boolean check(String path,
Resource resource)
- 从接口
ContextHandler.AliasCheck 复制的描述
- Check an alias
- 指定者:
- 接口
ContextHandler.AliasCheck 中的 check
- 参数:
path - The path the aliased resource was created forresource - The aliased resourced
- 返回:
- True if the resource is OK to be served.
Copyright © 2013. All Rights Reserved.