Class LoginResolver

    • Method Detail

      • resolve

        public java.util.Optional<Response> resolve​(Request request)
        Description copied from interface: NoAuthResolver
        Implement request resolution.
        Specified by:
        resolve in interface NoAuthResolver
        Specified by:
        resolve in interface Resolver
        Parameters:
        request - HTTP request, contains all information necessary to resolve the request.
        Returns:
        Response or empty if the response should be 404 (not found).
        See Also:
        for return value
      • getResponse

        public Response getResponse​(java.lang.String cookie)