Class ContextHandler.ApproveAliases

    • Constructor Summary

      Constructors 
      Constructor Description
      ApproveAliases()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean check​(java.lang.String path, Resource resource)
      Check an alias
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ApproveAliases

        public ApproveAliases()
    • Method Detail

      • check

        public boolean check​(java.lang.String path,
                             Resource resource)
        Description copied from interface: ContextHandler.AliasCheck
        Check an alias
        Specified by:
        check in interface ContextHandler.AliasCheck
        Parameters:
        path - The path the aliased resource was created for
        resource - The aliased resourced
        Returns:
        True if the resource is OK to be served.