be.ehealth.businessconnector.mycarenet.attestv3.builders.impl
Class ResponseObjectBuilderImpl

java.lang.Object
  extended by be.ehealth.businessconnector.mycarenet.attestv3.builders.impl.ResponseObjectBuilderImpl
All Implemented Interfaces:
ResponseObjectBuilder, ConfigurationModuleBootstrap.ModuleBootstrapHook

public class ResponseObjectBuilderImpl
extends Object
implements ResponseObjectBuilder, ConfigurationModuleBootstrap.ModuleBootstrapHook

Implementation for the ResponseObjectBuilder interface.


Constructor Summary
ResponseObjectBuilderImpl()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseObjectBuilderImpl

public ResponseObjectBuilderImpl()
Method Detail

handleSendAttestionResponse

public SignedEncryptedResponseHolder handleSendAttestionResponse(SendResponseType sendResponse,
                                                                 EncryptedRequestHolder sendAttestationRequest)
                                                          throws TechnicalConnectorException
Description copied from interface: ResponseObjectBuilder
Handles the response of the WS, checks the Xades and decode the content to create a SignedEncryptedResponseHolder object.

Specified by:
handleSendAttestionResponse in interface ResponseObjectBuilder
Parameters:
sendResponse - the response sent by the WS
sendAttestationRequest - the wrapper containing all the necessary request data
Returns:
the response object built from the response of the WS, with a valid Xades and a decoded content
Throws:
TechnicalConnectorException

handleCancelAttestationResponse

public SignedResponseHolder handleCancelAttestationResponse(SendResponseType sendResponse,
                                                            SendRequestType cancelAttestationRequest)
                                                     throws TechnicalConnectorException
Description copied from interface: ResponseObjectBuilder
Handles the response of the WS, checks the Xades and decode the content to create a SignedResponseHolder object.

Specified by:
handleCancelAttestationResponse in interface ResponseObjectBuilder
cancelAttestationRequest - the request sent to the WS
Returns:
Throws:
TechnicalConnectorException

bootstrap

public void bootstrap()
Specified by:
bootstrap in interface ConfigurationModuleBootstrap.ModuleBootstrapHook



Connector Packaging PERSLOGOPEDIST 3.27.0 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.