(T.class, T.class); T
commonInputResponse = helper.toObject(content); (T must be a JAXB Element)
Default impl : ResponseBuilderImpl
PROJECT_NAME_KEY
static final String PROJECT_NAME_KEY
- key to indicate the project name.
- See Also:
- Constant Field Values
getResponse
String getResponse(SendResponseType responseType)
throws TechnicalConnectorException
- Throws:
TechnicalConnectorException
getResponse
String getResponse(SendResponseType responseType,
boolean validate)
throws TechnicalConnectorException
- Throws:
TechnicalConnectorException
validateHash
void validateHash(Blob blob)
throws TechnicalConnectorException,
InvalidBlobContentConnectorException
- Parameters:
blob
- will throw InvalidBlobContentConnectorException if the hash is not correct.
- Throws:
TechnicalConnectorException
InvalidBlobContentConnectorException
validateXades
@Deprecated
void validateXades(SendResponseType responseType,
Blob blob)
throws TechnicalConnectorException,
InvalidBlobContentConnectorException
- Deprecated. use validateXades(responseType) instead , the blob will be extracted from the responseType
- Parameters:
responseType
- blob
- will throw InvalidBlobContentConnectorException if the xades is not correct.
- Throws:
TechnicalConnectorException
InvalidBlobContentConnectorException
validateXades
void validateXades(SendResponseType responseType)
throws TechnicalConnectorException,
InvalidBlobContentConnectorException
- validates the xades in the response type. the exact check is configured with property mycarenet.{projectName}.response.requiredxades
which can have the following values:
a response is valid if it has a 'higher' xades than required xadest > xades > none
- Parameters:
responseType
- the SendResponseType
to validate will throw InvalidBlobContentConnectorException if the xades is not
correct.
- Throws:
TechnicalConnectorException
InvalidBlobContentConnectorException
Connector Business ORGPHARMACY 3.10.2 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.