Package be.ehealth.businessconnector.mycarenet.agreement.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

  Modifier and Type
  Method
  Description
  `SignedEncryptedBuilderResponse`
  `handleAskAgreementResponse(AskAgreementResponse response, AskAgreementBuilderRequest request)`
  Handles the response of the WS, checks the signatures and decode the content (if necessary) to create a `SignedEncryptedBuilderResponse` object.
  `SignedEncryptedBuilderResponse`
  `handleConsultAgreementResponse(ConsultAgreementResponse response, ConsultAgreementBuilderRequest request)`

- ## Method Details

  - ### handleAskAgreementResponse

    SignedEncryptedBuilderResponse handleAskAgreementResponse(AskAgreementResponse response, AskAgreementBuilderRequest 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

    SignedEncryptedBuilderResponse handleConsultAgreementResponse(ConsultAgreementResponse response, ConsultAgreementBuilderRequest request) throws TechnicalConnectorException
    Throws:
      `TechnicalConnectorException`