Class | Description |
---|---|
BValInterceptor |
This interceptor is a specialized version of the org.apache.bval.cdi.BValInterceptor
To support the JWT+BeanValidation feature we will split any JWT-validating annotations
into a dedicated class with a '$$JwtConstraints' suffix, and the other annotations into a
dedicated class with a '$$ReturnConstraints' suffix.
|
ClassValidationData | |
ClassValidationGenerator | |
JwtValidationGenerator |
We allow CDI and EJB beans to use BeanValidation to validate a JsonWebToken
instance by simply creating contstraints and putting them on that method.
|
MethodConstraints | |
MethodMap |
Given a class like the following:
public class Green {
@ReturnValidation("bar")
public void sage() {
}
}
We will have generated a class like the following
|
ReturnValidationGenerator | |
ValidationConstraints | |
ValidationGenerator |
We allow CDI and EJB beans to use BeanValidation to validate a JsonWebToken
instance by simply creating contstraints and putting them on that method.
|
ValidationGenerator.ConstrainedMethodVisitor |
Wraps a MethodVisitor and ignores all annotations that are not
bean validation annotations that should be on this method.
|
ValidationInterceptor | |
ValidationInterceptorsFeature |
Exception | Description |
---|---|
ConstraintsClassInstantiationException |
This should never be thrown.
|
GeneratedConstraintsMissingException | |
MissingConstraintsException | |
MissingConstraintsMethodException | |
ValidationConstraintException | |
ValidationGenerationException |
Annotation Type | Description |
---|---|
Generated |