Class QueryPageResolver

  • All Implemented Interfaces:
    Resolver

    public class QueryPageResolver
    extends java.lang.Object
    implements Resolver
    • Constructor Detail

      • QueryPageResolver

        @Inject
        public QueryPageResolver​(ResponseFactory responseFactory)
    • Method Detail

      • canAccess

        public boolean canAccess​(Request request)
        Description copied from interface: Resolver
        Implement access control if authorization is enabled.

        Is not called when access control is not active.

        Specified by:
        canAccess in interface Resolver
        Parameters:
        request - HTTP request, contains all information necessary to check access.
        Returns:
        true if allowed or invalid target, false if response should be 403 (forbidden)
        See Also:
        for that has access permissions.