diff --git a/extensions/hibernate-validator/deployment/src/main/java/io/quarkus/hibernate/validator/deployment/HibernateValidatorProcessor.java b/extensions/hibernate-validator/deployment/src/main/java/io/quarkus/hibernate/validator/deployment/HibernateValidatorProcessor.java index 9b27cb7c430537..237bc8739eccfe 100644 --- a/extensions/hibernate-validator/deployment/src/main/java/io/quarkus/hibernate/validator/deployment/HibernateValidatorProcessor.java +++ b/extensions/hibernate-validator/deployment/src/main/java/io/quarkus/hibernate/validator/deployment/HibernateValidatorProcessor.java @@ -75,7 +75,7 @@ import io.quarkus.hibernate.validator.runtime.HibernateValidatorRecorder; import io.quarkus.hibernate.validator.runtime.ValidatorProvider; import io.quarkus.hibernate.validator.runtime.interceptor.MethodValidationInterceptor; -import io.quarkus.hibernate.validator.runtime.jaxrs.QuarkusRestViolationExceptionMapper; +import io.quarkus.hibernate.validator.runtime.jaxrs.ResteasyReactiveViolationExceptionMapper; import io.quarkus.hibernate.validator.runtime.jaxrs.ResteasyConfigSupport; import io.quarkus.hibernate.validator.spi.BeanValidationAnnotationsBuildItem; import io.quarkus.resteasy.common.spi.ResteasyConfigBuildItem; @@ -153,7 +153,7 @@ void registerAdditionalBeans(HibernateValidatorRecorder hibernateValidatorRecord } else if (capabilities.isPresent(Capability.RESTEASY_REACTIVE)) { // The CDI interceptor which will validate the methods annotated with @JaxrsEndPointValidated additionalBeans.produce(new AdditionalBeanBuildItem( - "io.quarkus.hibernate.validator.runtime.jaxrs.QuarkusRestEndPointValidationInterceptor")); + "io.quarkus.hibernate.validator.runtime.jaxrs.ResteasyReactiveEndPointValidationInterceptor")); } // A constraint validator with an injection point but no scope is added as @Singleton @@ -348,7 +348,7 @@ NativeImageConfigBuildItem nativeImageConfig() { @BuildStep ExceptionMapperBuildItem mapper() { - return new ExceptionMapperBuildItem(QuarkusRestViolationExceptionMapper.class.getName(), + return new ExceptionMapperBuildItem(ResteasyReactiveViolationExceptionMapper.class.getName(), ValidationException.class.getName(), Priorities.USER + 1, true); } diff --git a/extensions/hibernate-validator/runtime/src/main/java/io/quarkus/hibernate/validator/runtime/jaxrs/QuarkusRestEndPointValidationInterceptor.java b/extensions/hibernate-validator/runtime/src/main/java/io/quarkus/hibernate/validator/runtime/jaxrs/ResteasyReactiveEndPointValidationInterceptor.java similarity index 88% rename from extensions/hibernate-validator/runtime/src/main/java/io/quarkus/hibernate/validator/runtime/jaxrs/QuarkusRestEndPointValidationInterceptor.java rename to extensions/hibernate-validator/runtime/src/main/java/io/quarkus/hibernate/validator/runtime/jaxrs/ResteasyReactiveEndPointValidationInterceptor.java index c5d023e4620432..b139ddd67245d6 100644 --- a/extensions/hibernate-validator/runtime/src/main/java/io/quarkus/hibernate/validator/runtime/jaxrs/QuarkusRestEndPointValidationInterceptor.java +++ b/extensions/hibernate-validator/runtime/src/main/java/io/quarkus/hibernate/validator/runtime/jaxrs/ResteasyReactiveEndPointValidationInterceptor.java @@ -11,7 +11,7 @@ @JaxrsEndPointValidated @Interceptor @Priority(Interceptor.Priority.PLATFORM_AFTER + 800) -public class QuarkusRestEndPointValidationInterceptor extends AbstractMethodValidationInterceptor { +public class ResteasyReactiveEndPointValidationInterceptor extends AbstractMethodValidationInterceptor { @AroundInvoke @Override diff --git a/extensions/hibernate-validator/runtime/src/main/java/io/quarkus/hibernate/validator/runtime/jaxrs/QuarkusRestViolationExceptionMapper.java b/extensions/hibernate-validator/runtime/src/main/java/io/quarkus/hibernate/validator/runtime/jaxrs/ResteasyReactiveViolationExceptionMapper.java similarity index 97% rename from extensions/hibernate-validator/runtime/src/main/java/io/quarkus/hibernate/validator/runtime/jaxrs/QuarkusRestViolationExceptionMapper.java rename to extensions/hibernate-validator/runtime/src/main/java/io/quarkus/hibernate/validator/runtime/jaxrs/ResteasyReactiveViolationExceptionMapper.java index 49df29c1cbc7ca..945552cfe3772b 100644 --- a/extensions/hibernate-validator/runtime/src/main/java/io/quarkus/hibernate/validator/runtime/jaxrs/QuarkusRestViolationExceptionMapper.java +++ b/extensions/hibernate-validator/runtime/src/main/java/io/quarkus/hibernate/validator/runtime/jaxrs/ResteasyReactiveViolationExceptionMapper.java @@ -12,7 +12,7 @@ import javax.ws.rs.ext.Provider; @Provider -public class QuarkusRestViolationExceptionMapper implements ExceptionMapper { +public class ResteasyReactiveViolationExceptionMapper implements ExceptionMapper { @Override public Response toResponse(ValidationException exception) {