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

java.lang.Object
  extended by be.ehealth.businessconnector.mycarenet.agreementv2.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()
           
 SignedEncryptedResponseHolder handleAskAgreementResponse(AskAgreementResponse response, EncryptedRequestHolder<AskAgreementRequest> request)
          Handles the response of the WS, checks the signatures and decode the content (if necessary) to create a SignedEncryptedBuilderResponse object.
 SignedEncryptedResponseHolder handleConsultAgreementResponse(ConsultAgreementResponse response, EncryptedRequestHolder<ConsultAgreementRequest> request)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseObjectBuilderImpl

public ResponseObjectBuilderImpl()
Method Detail

handleAskAgreementResponse

public SignedEncryptedResponseHolder handleAskAgreementResponse(AskAgreementResponse response,
                                                                EncryptedRequestHolder<AskAgreementRequest> request)
                                                         throws TechnicalConnectorException
Description copied from interface: ResponseObjectBuilder
Handles the response of the WS, checks the signatures and decode the content (if necessary) to create a SignedEncryptedBuilderResponse object.

Specified by:
handleAskAgreementResponse in interface ResponseObjectBuilder
Parameters:
response - the response sent by the WS
Returns:
a MemberDataBuilderResponse object who contains all info
Throws:
TechnicalConnectorException - the technical connector exception

handleConsultAgreementResponse

public SignedEncryptedResponseHolder handleConsultAgreementResponse(ConsultAgreementResponse response,
                                                                    EncryptedRequestHolder<ConsultAgreementRequest> request)
                                                             throws TechnicalConnectorException
Specified by:
handleConsultAgreementResponse in interface ResponseObjectBuilder
Throws:
TechnicalConnectorException

bootstrap

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



Connector Packaging generic 3.28.5 API
Copyright © {inceptionYear}-2025 eHealth. All Rights Reserved.