Class BaseValidatingInterceptor<T>

java.lang.Object
ca.uhn.fhir.rest.server.interceptor.ValidationResultEnrichingInterceptor
ca.uhn.fhir.rest.server.interceptor.BaseValidatingInterceptor<T>
Direct Known Subclasses:
RequestValidatingInterceptor, ResponseValidatingInterceptor

This interceptor intercepts each incoming request and if it contains a FHIR resource, validates that resource. The interceptor may be configured to run any validator modules, and will then add headers to the response or fail the request with an HTTP 422 Unprocessable Entity.