@Interceptor @Priority(value=4800) public class QuarkusRestEndPointValidationInterceptor extends AbstractMethodValidationInterceptor
| Constructor and Description |
|---|
QuarkusRestEndPointValidationInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
validateConstructorInvocation(javax.interceptor.InvocationContext ctx)
Validates the Bean Validation constraints specified at the parameters and/or
return value of the intercepted constructor.
|
Object |
validateMethodInvocation(javax.interceptor.InvocationContext ctx)
Validates the Bean Validation constraints specified at the parameters and/or
return value of the intercepted method.
|
public QuarkusRestEndPointValidationInterceptor()
public Object validateMethodInvocation(javax.interceptor.InvocationContext ctx) throws Exception
AbstractMethodValidationInterceptorvalidateMethodInvocation in class AbstractMethodValidationInterceptorctx - The context of the intercepted method invocation.Exception - Any exception caused by the intercepted method invocation.
A ConstraintViolationException in case at least one
constraint violation occurred either during parameter or
return value validation.public void validateConstructorInvocation(javax.interceptor.InvocationContext ctx)
throws Exception
AbstractMethodValidationInterceptorvalidateConstructorInvocation in class AbstractMethodValidationInterceptorctx - The context of the intercepted constructor invocation.Exception - Any exception caused by the intercepted constructor
invocation. A ConstraintViolationException in case
at least one constraint violation occurred either during
parameter or return value validation.Copyright © 2021 JBoss by Red Hat. All rights reserved.