Class ValidationResultEnrichingInterceptor
java.lang.Object
ca.uhn.fhir.rest.server.interceptor.ValidationResultEnrichingInterceptor
- Direct Known Subclasses:
BaseValidatingInterceptor
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addValidationResultsToOperationOutcome
(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResponseObject) static void
addValidationResultToRequestDetails
(RequestDetails theRequestDetails, ca.uhn.fhir.validation.ValidationResult theValidationResult)
-
Field Details
-
REQUEST_VALIDATION_RESULT
Auser data
entry will be created with this key which contains theValidationResult
from validating the request.
-
-
Constructor Details
-
ValidationResultEnrichingInterceptor
public ValidationResultEnrichingInterceptor()
-
-
Method Details
-
addValidationResultsToOperationOutcome
public boolean addValidationResultsToOperationOutcome(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResponseObject) -
addValidationResultToRequestDetails
public static void addValidationResultToRequestDetails(@Nullable RequestDetails theRequestDetails, @Nonnull ca.uhn.fhir.validation.ValidationResult theValidationResult)
-