Package io.quarkiverse.bucket4j.runtime
Class RateLimitExceptionMapper
- java.lang.Object
-
- io.quarkiverse.bucket4j.runtime.RateLimitExceptionMapper
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<RateLimitException>
@Provider public class RateLimitExceptionMapper extends Object implements jakarta.ws.rs.ext.ExceptionMapper<RateLimitException>
-
-
Constructor Summary
Constructors Constructor Description RateLimitExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.ResponsetoResponse(RateLimitException e)
-
-
-
Method Detail
-
toResponse
public jakarta.ws.rs.core.Response toResponse(RateLimitException e)
- Specified by:
toResponsein interfacejakarta.ws.rs.ext.ExceptionMapper<RateLimitException>
-
-