org.eclipse.jetty.server.handler
接口 ContextHandler.AliasCheck
- 所有已知实现类:
- ContextHandler.ApproveNonExistentDirectoryAliases, ContextHandler.ApprovePathPrefixAliases, ContextHandler.ApproveSameSuffixAliases
- 包容类:
- ContextHandler
public static interface ContextHandler.AliasCheck
Interface to check aliases
check
boolean check(String path,
Resource resource)
- Check an alias
- 参数:
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.