public class ResponseObjectBuilderImpl extends Object implements ResponseObjectBuilder, ConfigurationModuleBootstrap.ModuleBootstrapHook
ResponseObjectBuilder
interface.Constructor and Description |
---|
ResponseObjectBuilderImpl() |
Modifier and Type | Method and Description |
---|---|
void |
bootstrap() |
SignedResponseHolder |
handleCancelAttestationResponse(SendResponseType sendResponse,
SendRequestType cancelAttestationRequest)
Handles the response of the WS, checks the Xades and decode the content to create a
SignedResponseHolder object. |
SignedEncryptedResponseHolder |
handleSendAttestionResponse(SendResponseType sendResponse,
EncryptedRequestHolder sendAttestationRequest)
Handles the response of the WS, checks the Xades and decode the content to create a
SignedEncryptedResponseHolder object. |
public SignedEncryptedResponseHolder handleSendAttestionResponse(SendResponseType sendResponse, EncryptedRequestHolder sendAttestationRequest) throws TechnicalConnectorException
ResponseObjectBuilder
SignedEncryptedResponseHolder
object.handleSendAttestionResponse
in interface ResponseObjectBuilder
sendResponse
- the response sent by the WSsendAttestationRequest
- the wrapper containing all the necessary request dataTechnicalConnectorException
public SignedResponseHolder handleCancelAttestationResponse(SendResponseType sendResponse, SendRequestType cancelAttestationRequest) throws TechnicalConnectorException
ResponseObjectBuilder
SignedResponseHolder
object.handleCancelAttestationResponse
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.