Class JwtValidationExceptionHandler
java.lang.Object
org.gridgain.internal.rest.jwt.exception.handler.JwtValidationExceptionHandler
- All Implemented Interfaces:
io.micronaut.http.server.exceptions.ExceptionHandler<org.gridgain.internal.security.jwt.exception.JwtValidationException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>
@Singleton
@Requires(classes={org.gridgain.internal.security.jwt.exception.JwtValidationException.class,io.micronaut.http.server.exceptions.ExceptionHandler.class})
public class JwtValidationExceptionHandler
extends Object
implements io.micronaut.http.server.exceptions.ExceptionHandler<org.gridgain.internal.security.jwt.exception.JwtValidationException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>
Handles
JwtValidationException and represents it as a rest response.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>handle(io.micronaut.http.HttpRequest request, org.gridgain.internal.security.jwt.exception.JwtValidationException exception)
-
Constructor Details
-
JwtValidationExceptionHandler
public JwtValidationExceptionHandler()
-
-
Method Details
-
handle
public io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem> handle(io.micronaut.http.HttpRequest request, org.gridgain.internal.security.jwt.exception.JwtValidationException exception) - Specified by:
handlein interfaceio.micronaut.http.server.exceptions.ExceptionHandler<org.gridgain.internal.security.jwt.exception.JwtValidationException,io.micronaut.http.HttpResponse<? extends org.apache.ignite.internal.rest.api.Problem>>
-