@Singleton
public class RequestNotPermittedHandler
extends java.lang.Object
implements io.micronaut.http.server.exceptions.ExceptionHandler<io.github.resilience4j.ratelimiter.RequestNotPermitted,io.micronaut.http.HttpResponse<?>>
RequestNotPermitted
.Constructor and Description |
---|
RequestNotPermittedHandler() |
Modifier and Type | Method and Description |
---|---|
io.micronaut.http.HttpResponse<?> |
handle(io.micronaut.http.HttpRequest request,
io.github.resilience4j.ratelimiter.RequestNotPermitted exception) |
public io.micronaut.http.HttpResponse<?> handle(io.micronaut.http.HttpRequest request, io.github.resilience4j.ratelimiter.RequestNotPermitted exception)
handle
in interface io.micronaut.http.server.exceptions.ExceptionHandler<io.github.resilience4j.ratelimiter.RequestNotPermitted,io.micronaut.http.HttpResponse<?>>