be.ehealth.businessconnector.genericasync.builders
Interface ResponseObjectBuilder

All Superinterfaces:
ConfigurableImplementation
All Known Implementing Classes:
ResponseObjectBuilderImpl

public interface ResponseObjectBuilder
extends ConfigurableImplementation

Used to build a response object Default impl : ResponseObjectBuilderImpl Factory : BuilderFactory


Method Summary
 Map<Object,SignatureVerificationResult> handleGetResponse(GetResponse getResponse)
          Check the response of a get request.
 boolean handlePostResponse(PostResponse postResponse)
          Check the response of a post request.
 
Methods inherited from interface be.ehealth.technicalconnector.utils.ConfigurableImplementation
initialize
 

Method Detail

handlePostResponse

boolean handlePostResponse(PostResponse postResponse)
                           throws GenAsyncBusinessConnectorException
Check the response of a post request.

Parameters:
postResponse - the WS response
Returns:
true if error contains warnings, false if it doesn't
Throws:
GenAsyncBusinessConnectorException

handleGetResponse

Map<Object,SignatureVerificationResult> handleGetResponse(GetResponse getResponse)
                                                          throws GenAsyncBusinessConnectorException
Check the response of a get request.

Parameters:
getResponse - the WS Response
Returns:
when no validation failures occure the return is a Map with the responses ( TackResponse or MessageResponse ) as key and the SignatureVerificationResult as value
Throws:
GenAsyncBusinessConnectorException - with the results if there is a signature verification failure



Connector Packaging PERSPHYSICIAN 3.10.2 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.