be.ehealth.businessconnector.hub.security
Class HubRequestWithEncryption<X>
java.lang.Object
be.ehealth.businessconnector.hub.security.HubRequestWithEncryption<X>
- Type Parameters:
X
-
- All Implemented Interfaces:
- HubRequestHandler
public class HubRequestWithEncryption<X>
- extends Object
- implements HubRequestHandler
The Class HubRequestWithEncryption.
HubRequestWithEncryption
public HubRequestWithEncryption(HubRequestHandler baseHandler)
- Instantiates a new hub request with encryption.
- Parameters:
baseHandler
- the base handler
handleEncryption
public X handleEncryption(X request,
Crypto crypto)
throws IntraHubBusinessConnectorException,
TechnicalConnectorException
- Parameters:
request
- crypto
-
- Returns:
- X
- Throws:
IntraHubBusinessConnectorException
TechnicalConnectorException
BusinessConnectorException
handle
public RequestType handle()
throws IntraHubBusinessConnectorException
- Handle the request, add the necessary info to the tag of each outgoing message
- Specified by:
handle
in interface HubRequestHandler
- Returns:
- the request type
- Throws:
IntraHubBusinessConnectorException
- the business connector exception
Connector Packaging PERSPHYSICIAN 3.10.2 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.