Class EthosService

  • Direct Known Subclasses:
    EthosChangeNotificationService

    public abstract class EthosService
    extends Object
    Abstract base service class used by various subclasses.
    Since:
    0.2.0
    Author:
    David Kumar
    • Field Detail

      • ethosClientBuilder

        protected EthosClientBuilder ethosClientBuilder
        The EthosClientBuilder used by the subclasses to build the Ethos clients used by this service. All clients must use the same API key and timeout values.
    • Constructor Detail

      • EthosService

        protected EthosService​(String apiKey)
        Constructs this service with the given API key.
        Parameters:
        apiKey - The API key used by the EthosClients of this service when obtaining an access token per request.
      • EthosService

        protected EthosService​(EthosClientBuilder ethosClientBuilder)
        Constructs this service with the given EthosClientBuilder.
        Parameters:
        ethosClientBuilder - The EthosClientBuilder used to build the required clients that this service uses.