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.


构造方法摘要
ContextHandler.ApproveNonExistentDirectoryAliases()
           
 
方法摘要
 boolean check(String path, Resource resource)
          Check an alias
 
从类 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 for
resource - The aliased resourced
返回:
True if the resource is OK to be served.


Copyright © 2013. All Rights Reserved.