org.eclipse.jetty.server.handler
类 ContextHandler.ApproveSameSuffixAliases
java.lang.Object
org.eclipse.jetty.server.handler.ContextHandler.ApproveSameSuffixAliases
- 所有已实现的接口:
- ContextHandler.AliasCheck
- 包容类:
- ContextHandler
public static class ContextHandler.ApproveSameSuffixAliases
- extends Object
- implements ContextHandler.AliasCheck
Approve Aliases with same suffix.
Eg. a symbolic link from /foobar.html to /somewhere/wibble.html would be
approved because both the resource and alias end with ".html".
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextHandler.ApproveSameSuffixAliases
public ContextHandler.ApproveSameSuffixAliases()
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.