Class ContextHandler.ApproveAliases

    • Constructor Summary

      Constructors 
      Constructor Description
      ApproveAliases()
      Deprecated.
       
    • Method Summary

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

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

      • ApproveAliases

        public ApproveAliases()
        Deprecated.
    • Method Detail

      • check

        public boolean check​(java.lang.String path,
                             Resource resource)
        Deprecated.
        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.