Class ForbiddenExceptionMapper
java.lang.Object
io.quarkiverse.httpproblem.ExceptionMapperBase<io.quarkus.security.ForbiddenException>
io.quarkiverse.httpproblem.security.ForbiddenExceptionMapper
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<io.quarkus.security.ForbiddenException>
@Priority(5000)
public final class ForbiddenExceptionMapper
extends ExceptionMapperBase<io.quarkus.security.ForbiddenException>
implements jakarta.ws.rs.ext.ExceptionMapper<io.quarkus.security.ForbiddenException>
Mapper overriding default Quarkus exception mapper to make all error responses compliant with RFC7807.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected HttpProblemtoProblem(io.quarkus.security.ForbiddenException e) Methods inherited from class io.quarkiverse.httpproblem.ExceptionMapperBase
toResponseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.ws.rs.ext.ExceptionMapper
toResponse
-
Constructor Details
-
ForbiddenExceptionMapper
public ForbiddenExceptionMapper() -
ForbiddenExceptionMapper
-
-
Method Details
-
toProblem
- Specified by:
toProblemin classExceptionMapperBase<io.quarkus.security.ForbiddenException>
-