Class ContextHandler.ApproveAliases

    • Constructor Detail

      • ApproveAliases

        public ApproveAliases()
    • Method Detail

      • check

        public boolean check​(String path,
                             org.eclipse.jetty.util.resource.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.