Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## be.ehealth.businessconnector.mycarenet.agreement.builders.impl
Class ResponseObjectBuilderImpl

    java.lang.Object
      be.ehealth.businessconnector.mycarenet.agreement.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()`
`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)`

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 SignedEncryptedBuilderResponse handleAskAgreementResponse(AskAgreementResponse response,
                                                                     AskAgreementBuilderRequest 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 SignedEncryptedBuilderResponse handleConsultAgreementResponse(ConsultAgreementResponse response,
                                                                         ConsultAgreementBuilderRequest request)
                                                                  throws TechnicalConnectorException

  Specified by:
    `handleConsultAgreementResponse` in interface `ResponseObjectBuilder`
  Throws:
    `TechnicalConnectorException`

### bootstrap

    public void bootstrap()

  Specified by:
    `bootstrap` in interface `ConfigurationModuleBootstrap.ModuleBootstrapHook`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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