public interface ResponseBuilder
ResponseBuilderImpl
Modifier and Type | Field and Description |
---|---|
static String |
PROJECT_NAME_KEY
key to indicate the project name.
|
Modifier and Type | Method and Description |
---|---|
String |
getResponse(SendResponseType responseType) |
String |
getResponse(SendResponseType responseType) |
String |
getResponse(SendResponseType responseType,
boolean validate) |
String |
getResponse(SendResponseType responseType,
boolean validate) |
void |
validateHash(Blob blob) |
void |
validateXades(SendResponseType responseType)
validates the xades in the response type.
|
void |
validateXades(SendResponseType responseType,
Blob blob)
Deprecated.
use validateXades(responseType) instead , the blob will be extracted from the responseType
|
static final String PROJECT_NAME_KEY
String getResponse(SendResponseType responseType) throws TechnicalConnectorException
TechnicalConnectorException
String getResponse(SendResponseType responseType) throws TechnicalConnectorException
TechnicalConnectorException
String getResponse(SendResponseType responseType, boolean validate) throws TechnicalConnectorException
TechnicalConnectorException
void validateHash(Blob blob) throws TechnicalConnectorException, InvalidBlobContentConnectorException
blob
- will throw InvalidBlobContentConnectorException if the hash is not correct.TechnicalConnectorException
InvalidBlobContentConnectorException
@Deprecated void validateXades(SendResponseType responseType, Blob blob) throws TechnicalConnectorException, InvalidBlobContentConnectorException
responseType
- blob
- will throw InvalidBlobContentConnectorException if the xades is not correct.TechnicalConnectorException
InvalidBlobContentConnectorException
void validateXades(SendResponseType responseType) throws TechnicalConnectorException, InvalidBlobContentConnectorException
responseType
- the SendResponseType
to validate will throw InvalidBlobContentConnectorException if the xades is not
correct.TechnicalConnectorException
InvalidBlobContentConnectorException
String getResponse(SendResponseType responseType, boolean validate) throws TechnicalConnectorException
TechnicalConnectorException
Connector Packaging TRUSSMAKER 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.