com.sap.core.connectivity.api

## Interface HttpDestination

- Deprecated.
  This interface is replaced by `HttpDestination`.

      @Deprecated
      public interface HttpDestination

  Since:
    version 0.9.45
    `HttpDestination` interface provides instances of the `HttpClient` which are responsible for authenticating the requests to the remote systems according to the destination configuration.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `HttpClient` | `createHttpClient()` Deprecated. A method to obtain an instance of `HttpClient` with the corresponding configuration at the time of the method call.

- - ### Method Detail

    - #### createHttpClient

          HttpClient createHttpClient()

      Deprecated.
      A method to obtain an instance of `HttpClient` with the corresponding configuration at the time of the method call. Subsequent changes to the configuration of the destination will not affect the already created instances of `HttpClient` and the method should be called again instead.
      Returns:
        an instance of `HttpClient` which is responsible to authenticate the requests to the remote systems according the destination configuration.
      Throws:
        `IllegalArgumentException` - if the destination is not available anymore or the `HttpClient` cannot be created due to a configuration issue.

Copyright © 2020 SAP. All Rights Reserved.