public class ResponseObjectBuilderImpl extends Object implements ResponseObjectBuilder, ConfigurationModuleBootstrap.ModuleBootstrapHook
ResponseObjectBuilder
interface.Constructor and Description |
---|
ResponseObjectBuilderImpl() |
Modifier and Type | Method and Description |
---|---|
void |
bootstrap() |
SignedBuilderResponse |
handleCancelResponseType(SendResponseType sendResponse,
CancelAttestationRequest cancelAttestationRequest)
Handles the response of the WS, checks the Xades and decode the content to create a
SignedBuilderResponse object. |
SignedEncryptedBuilderResponse |
handleSendResponseType(SendResponseType sendResponse,
SendAttestBuilderRequest builderRequest)
Handles the response of the WS, checks the Xades and decode the content to create a
SignedEncryptedBuilderResponse object. |
public final SignedEncryptedBuilderResponse handleSendResponseType(SendResponseType sendResponse, SendAttestBuilderRequest builderRequest) throws TechnicalConnectorException
ResponseObjectBuilder
SignedEncryptedBuilderResponse
object.handleSendResponseType
in interface ResponseObjectBuilder
sendResponse
- the response sent by the WSbuilderRequest
- the wrapper containing all the necessary request dataTechnicalConnectorException
public SignedBuilderResponse handleCancelResponseType(SendResponseType sendResponse, CancelAttestationRequest cancelAttestationRequest) throws TechnicalConnectorException
ResponseObjectBuilder
SignedBuilderResponse
object.handleCancelResponseType
in interface ResponseObjectBuilder
cancelAttestationRequest
- the request sent to the WSTechnicalConnectorException
public void bootstrap()
bootstrap
in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging PERSPHYSICIAN 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.