Class 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.