org.eclipse.jetty.server.handler
接口 ContextHandler.AliasCheck

所有已知实现类:
ContextHandler.ApproveNonExistentDirectoryAliases, ContextHandler.ApprovePathPrefixAliases, ContextHandler.ApproveSameSuffixAliases
包容类:
ContextHandler

public static interface ContextHandler.AliasCheck

Interface to check aliases


方法摘要
 boolean check(String path, Resource resource)
          Check an alias
 

方法详细信息

check

boolean check(String path,
              Resource resource)
Check an alias

参数:
path - The path the aliased resource was created for
resource - The aliased resourced
返回:
True if the resource is OK to be served.


Copyright © 2013. All Rights Reserved.