use of org.glassfish.jersey.server.spi.ValidationInterceptor in project jersey by jersey.
the class DefaultConfiguredValidator method createInterceptorList.
private List<ValidationInterceptor> createInterceptorList(Iterable<ValidationInterceptor> interceptors) {
List<ValidationInterceptor> result = new LinkedList<>();
for (ValidationInterceptor i : interceptors) {
result.add(i);
}
result.add(this);
return result;
}
use of org.glassfish.jersey.server.spi.ValidationInterceptor in project jersey by jersey.
the class ValidationInterceptorExecutor method proceed.
@Override
public void proceed() throws ValidationException {
final ValidationInterceptor validationInterceptor = iterator.next();
validationInterceptor.onValidate(this);
}
Aggregations