be.ehealth.businessconnector.mycarenet.agreementv2.builders
Interface ResponseObjectBuilder

All Known Implementing Classes:
ResponseObjectBuilderImpl

public interface ResponseObjectBuilder

Provides method(s) to build a business response from WS response. Default impl : ResponseObjectBuilderImpl Factory : ResponseObjectBuilderFactory


Method Summary
 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)
           
 

Method Detail

handleAskAgreementResponse

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

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

handleConsultAgreementResponse

SignedEncryptedResponseHolder handleConsultAgreementResponse(ConsultAgreementResponse response,
                                                             EncryptedRequestHolder<ConsultAgreementRequest> request)
                                                             throws TechnicalConnectorException
Throws:
TechnicalConnectorException



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