Class ResteasyReactiveViolationExceptionMapper
- java.lang.Object
-
- io.quarkus.hibernate.validator.runtime.jaxrs.ResteasyReactiveViolationExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<javax.validation.ValidationException>
@Provider public class ResteasyReactiveViolationExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<javax.validation.ValidationException>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResteasyReactiveViolationExceptionMapper.ViolationReportAs spec doesn't say anything about the report format, we just use https://opensource.zalando.com/problem/constraint-violation This also what Reactive Routes uses
-
Constructor Summary
Constructors Constructor Description ResteasyReactiveViolationExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.ws.rs.core.ResponsebuildResponse(Object entity, javax.ws.rs.core.Response.Status status)javax.ws.rs.core.ResponsetoResponse(javax.validation.ValidationException exception)protected StringunwrapException(Throwable t)
-
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(javax.validation.ValidationException exception)
- Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<javax.validation.ValidationException>
-
buildResponse
protected javax.ws.rs.core.Response buildResponse(Object entity, javax.ws.rs.core.Response.Status status)
-
-