@Singleton @Primary @Produces public class AuthenticationExceptionHandler extends java.lang.Object implements io.micronaut.http.server.exceptions.ExceptionHandler<AuthenticationException,io.micronaut.http.HttpResponse>
AuthenticationException
is thrown.Constructor and Description |
---|
AuthenticationExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
io.micronaut.http.HttpResponse |
handle(io.micronaut.http.HttpRequest request,
AuthenticationException exception) |
public io.micronaut.http.HttpResponse handle(io.micronaut.http.HttpRequest request, AuthenticationException exception)
handle
in interface io.micronaut.http.server.exceptions.ExceptionHandler<AuthenticationException,io.micronaut.http.HttpResponse>