Class ResponseValidatingInterceptor

java.lang.Object
ca.uhn.fhir.rest.server.interceptor.ValidationResultEnrichingInterceptor
ca.uhn.fhir.rest.server.interceptor.BaseValidatingInterceptor<org.hl7.fhir.instance.model.api.IBaseResource>
ca.uhn.fhir.rest.server.interceptor.ResponseValidatingInterceptor

public class ResponseValidatingInterceptor extends BaseValidatingInterceptor<org.hl7.fhir.instance.model.api.IBaseResource>
This interceptor intercepts each outgoing response 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.