org.eclipse.jetty.server.handler
类 ContextHandler.ApprovePathPrefixAliases

java.lang.Object
  继承者 org.eclipse.jetty.server.handler.ContextHandler.ApprovePathPrefixAliases
所有已实现的接口:
ContextHandler.AliasCheck
包容类:
ContextHandler

public static class ContextHandler.ApprovePathPrefixAliases
extends Object
implements ContextHandler.AliasCheck

Approve Aliases with a path prefix. Eg. a symbolic link from /dirA/foobar.html to /dirB/foobar.html would be approved because both the resource and alias end with "/foobar.html".


构造方法摘要
ContextHandler.ApprovePathPrefixAliases()
           
 
方法摘要
 boolean check(String path, Resource resource)
          Check an alias
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ContextHandler.ApprovePathPrefixAliases

public ContextHandler.ApprovePathPrefixAliases()
方法详细信息

check

public boolean check(String path,
                     Resource resource)
从接口 ContextHandler.AliasCheck 复制的描述
Check an alias

指定者:
接口 ContextHandler.AliasCheck 中的 check
参数:
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.