be.ehealth.business.common.helper

## Class EhealthServiceHelper

- java.lang.Object
- - be.ehealth.business.common.helper.EhealthServiceHelper

-     public final class EhealthServiceHelper
      extends Object

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <T extends ResponseType> T` | `callEhealthService_1_0(SAMLToken token, GenericRequest service, Object request, Class<T> clazz, SessionValidator sessionValidator, EhealthReplyValidator ehealthReplyValidator)`
    `static <T extends ResponseType> T` | `callEhealthServiceV1(SAMLToken token, GenericRequest service, Object request, Class<T> clazz, SessionValidator sessionValidator, EhealthReplyValidator ehealthReplyValidator)`
    `static <T extends StatusResponseType> T` | `callEhealthServiceV2(SAMLToken token, GenericRequest service, Object request, Class<T> clazz, SessionValidator sessionValidator, EhealthReplyValidator ehealthReplyValidator)`
    `static <T> T` | `getFirst(StatusDetail statusDetail, Class<T> clazz)`
    `static <T> List<T>` | `toList(StatusDetail statusDetail, Class<T> clazz)`

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

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

- - ### Method Detail

    - #### callEhealthServiceV1

          public static <T extends ResponseType> T callEhealthServiceV1(SAMLToken token,
                                                                        GenericRequest service,
                                                                        Object request,
                                                                        Class<T> clazz,
                                                                        SessionValidator sessionValidator,
                                                                        EhealthReplyValidator ehealthReplyValidator)
                                                                 throws TechnicalConnectorException

      Throws:
        `TechnicalConnectorException`

    - #### callEhealthService_1_0

          public static <T extends ResponseType> T callEhealthService_1_0(SAMLToken token,
                                                                          GenericRequest service,
                                                                          Object request,
                                                                          Class<T> clazz,
                                                                          SessionValidator sessionValidator,
                                                                          EhealthReplyValidator ehealthReplyValidator)
                                                                   throws TechnicalConnectorException

      Throws:
        `TechnicalConnectorException`

    - #### callEhealthServiceV2

          public static <T extends StatusResponseType> T callEhealthServiceV2(SAMLToken token,
                                                                              GenericRequest service,
                                                                              Object request,
                                                                              Class<T> clazz,
                                                                              SessionValidator sessionValidator,
                                                                              EhealthReplyValidator ehealthReplyValidator)
                                                                       throws TechnicalConnectorException

      Throws:
        `TechnicalConnectorException`

    - #### toList

          public static <T> List<T> toList(StatusDetail statusDetail,
                                           Class<T> clazz)

    - #### getFirst

          public static <T> T getFirst(StatusDetail statusDetail,
                                       Class<T> clazz)

Connector Packaging generic 4.4.0 API
Copyright © {inceptionYear}-2023 eHealth. All Rights Reserved.