Class ResteasyReactiveEndPointValidationInterceptor
java.lang.Object
io.quarkus.hibernate.validator.runtime.interceptor.AbstractMethodValidationInterceptor
io.quarkus.hibernate.validator.runtime.jaxrs.ResteasyReactiveEndPointValidationInterceptor
- All Implemented Interfaces:
Serializable
@Interceptor
@Priority(4800)
public class ResteasyReactiveEndPointValidationInterceptor
extends AbstractMethodValidationInterceptor
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidateConstructorInvocation(jakarta.interceptor.InvocationContext ctx) Validates the Bean Validation constraints specified at the parameters and/or return value of the intercepted constructor.validateMethodInvocation(jakarta.interceptor.InvocationContext ctx) Validates the Bean Validation constraints specified at the parameters and/or return value of the intercepted method.
-
Constructor Details
-
ResteasyReactiveEndPointValidationInterceptor
public ResteasyReactiveEndPointValidationInterceptor()
-
-
Method Details
-
validateMethodInvocation
Description copied from class:AbstractMethodValidationInterceptorValidates the Bean Validation constraints specified at the parameters and/or return value of the intercepted method.- Overrides:
validateMethodInvocationin classAbstractMethodValidationInterceptor- Parameters:
ctx- The context of the intercepted method invocation.- Returns:
- The result of the method invocation.
- Throws:
Exception- Any exception caused by the intercepted method invocation. AConstraintViolationExceptionin case at least one constraint violation occurred either during parameter or return value validation.
-
validateConstructorInvocation
public void validateConstructorInvocation(jakarta.interceptor.InvocationContext ctx) throws Exception Description copied from class:AbstractMethodValidationInterceptorValidates the Bean Validation constraints specified at the parameters and/or return value of the intercepted constructor.- Overrides:
validateConstructorInvocationin classAbstractMethodValidationInterceptor- Parameters:
ctx- The context of the intercepted constructor invocation.- Throws:
Exception- Any exception caused by the intercepted constructor invocation. AConstraintViolationExceptionin case at least one constraint violation occurred either during parameter or return value validation.
-