Class FhirTransactionValidator.Support
java.lang.Object
org.openehealth.ipf.commons.ihe.fhir.FhirTransactionValidator.Support
- All Implemented Interfaces:
FhirTransactionValidator
- Direct Known Subclasses:
IgBasedInstanceValidator
,Iti65Validator
,MhdValidator
- Enclosing interface:
- FhirTransactionValidator
public static class FhirTransactionValidator.Support
extends Object
implements FhirTransactionValidator
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openehealth.ipf.commons.ihe.fhir.FhirTransactionValidator
FhirTransactionValidator.Support
-
Field Summary
Fields inherited from interface org.openehealth.ipf.commons.ihe.fhir.FhirTransactionValidator
NO_VALIDATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validateRequest
(Object payload, Map<String, Object> parameters) Validates a FHIR request, throwing anUnprocessableEntityException
on validation failurevoid
validateResponse
(Object payload, Map<String, Object> parameters) Validates a FHIR response, throwing an appropriate subclass ofBaseServerResponseException
on validation failure
-
Constructor Details
-
Support
public Support()
-
-
Method Details
-
validateRequest
Description copied from interface:FhirTransactionValidator
Validates a FHIR request, throwing anUnprocessableEntityException
on validation failure- Specified by:
validateRequest
in interfaceFhirTransactionValidator
- Parameters:
payload
- request payloadparameters
- request parameters
-
validateResponse
Description copied from interface:FhirTransactionValidator
Validates a FHIR response, throwing an appropriate subclass ofBaseServerResponseException
on validation failure- Specified by:
validateResponse
in interfaceFhirTransactionValidator
- Parameters:
payload
- response payloadparameters
- response parameters
-