public final class ResponseHelper extends Object implements ConfigurationModuleBootstrap.ModuleBootstrapHook
Constructor and Description |
---|
ResponseHelper()
only for bootstrapping purposes.
|
Modifier and Type | Method and Description |
---|---|
void |
bootstrap() |
static RetrieveTransactionResponse |
toObject(byte[] responseContent)
Return the jaxb object for a
|
static void |
validateResponse(RetrieveTransactionResponse responseContent)
Test if the jaxb object match the xsd rules.
|
public static void validateResponse(RetrieveTransactionResponse responseContent) throws TechnicalConnectorException
responseContent
- TechnicalConnectorException
- if it contains code TechnicalConnectorExceptionValues.ERROR_XML_INVALID , it indicates a problem
with the received xsdpublic static RetrieveTransactionResponse toObject(byte[] responseContent)
responseContent
- public void bootstrap()
bootstrap
in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging PERSPHYSICIAN 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.