be.ehealth.businessconnector.mycarenet.attest.session.impl

## Class AttestServiceImpl

- java.lang.Object
- - be.ehealth.businessconnector.mycarenet.attest.session.impl.AttestServiceImpl

- All Implemented Interfaces:
    AttestService

      public class AttestServiceImpl
      extends Object
      implements AttestService

  A simplified interface to access the eAttest service Implements : `AttestService`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AttestServiceImpl(SessionValidator sessionValidator, EhealthReplyValidator replyValidator)` Instantiates a new eAttest service impl.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SendAttestationResponse` | `sendAttestation(SendAttestationRequest request)` Sends the send attestation request to the WS (needs a Session to be active, token is retrieved from the session)

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AttestServiceImpl

          public AttestServiceImpl(SessionValidator sessionValidator,
                                   EhealthReplyValidator replyValidator)
                            throws TechnicalConnectorException

      Instantiates a new eAttest service impl.
      Parameters:
        `sessionValidator` - the sessionValidator
        `replyValidator` - the replyValidator
      Throws:
        `TechnicalConnectorException`

  - ### Method Detail

    - #### sendAttestation

          public SendAttestationResponse sendAttestation(SendAttestationRequest request)
                                                  throws AttestBusinessConnectorException,
                                                         TechnicalConnectorException

      Description copied from interface: `AttestService`
      Sends the send attestation request to the WS (needs a Session to be active, token is retrieved from the session)
      Specified by:
        `sendAttestation` in interface `AttestService`
      Parameters:
        `request` - the consultation request
      Returns:
        the WS response
      Throws:
        `AttestBusinessConnectorException`
        `TechnicalConnectorException`

Connector Packaging PERSPHYSICIAN 4.2.0 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.