public Response handle ( AuthleteApi api ) { try { // Create a handler. JwksRequestHandler handler = new JwksRequestHandler ( api ) ; // Delegate the task to the handler. return handler . handle ( ) ; } catch ( WebApplicationException e ) { // An error occurred in the handler. onError ( e ) ; // Convert the error to a Response. return e . getResponse ( ) ; } }
Handle a request for a JWK Set document .