Class AllowedResourceAliasChecker

    • Constructor Detail

      • AllowedResourceAliasChecker

        public AllowedResourceAliasChecker​(ContextHandler contextHandler)
        Deprecated.
        Parameters:
        contextHandler - the context handler to use.
    • Method Detail

      • check

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