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
TechnicalConnectorExceptionString getResponse(SendResponseType responseType) throws TechnicalConnectorException
TechnicalConnectorExceptionString getResponse(SendResponseType responseType, boolean validate) throws TechnicalConnectorException
TechnicalConnectorExceptionvoid validateHash(Blob blob) throws TechnicalConnectorException, InvalidBlobContentConnectorException
blob - will throw InvalidBlobContentConnectorException if the hash is not correct.TechnicalConnectorExceptionInvalidBlobContentConnectorException@Deprecated void validateXades(SendResponseType responseType, Blob blob) throws TechnicalConnectorException, InvalidBlobContentConnectorException
responseType - blob - will throw InvalidBlobContentConnectorException if the xades is not correct.TechnicalConnectorExceptionInvalidBlobContentConnectorExceptionvoid validateXades(SendResponseType responseType) throws TechnicalConnectorException, InvalidBlobContentConnectorException
responseType - the SendResponseType to validate will throw InvalidBlobContentConnectorException if the xades is not
correct.TechnicalConnectorExceptionInvalidBlobContentConnectorExceptionString getResponse(SendResponseType responseType, boolean validate) throws TechnicalConnectorException
TechnicalConnectorException
Connector Packaging generic 4.3.0-beta-3 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.