Package com.flagsmith

Class FlagsmithApiWrapper

java.lang.Object
com.flagsmith.FlagsmithApiWrapper
All Implemented Interfaces:
FlagsmithSdk

public class FlagsmithApiWrapper
extends Object
implements FlagsmithSdk
  • Constructor Details

    • FlagsmithApiWrapper

      public FlagsmithApiWrapper​(FlagsmithCache cache, FlagsmithConfig defaultConfig, HashMap<String,​String> customHeaders, FlagsmithLogger logger, String apiKey)
      Instantiate with cache.
      Parameters:
      cache - cache object
      defaultConfig - config object
      customHeaders - custom headers list
      logger - logger object
      apiKey - api key
    • FlagsmithApiWrapper

      public FlagsmithApiWrapper​(FlagsmithConfig defaultConfig, HashMap<String,​String> customHeaders, FlagsmithLogger logger, String apiKey)
      Instantiate with config, custom headers, logger and apikey.
      Parameters:
      defaultConfig - config object
      customHeaders - custom headers list
      logger - logger instance
      apiKey - api key
    • FlagsmithApiWrapper

      public FlagsmithApiWrapper​(FlagsmithConfig defaultConfig, HashMap<String,​String> customHeaders, FlagsmithLogger logger, String apiKey, RequestProcessor requestProcessor)
      Instantiate with config, custom headers, logger, apikey and request processor.
      Parameters:
      defaultConfig - config object
      customHeaders - custom headers list
      logger - logger instance
      apiKey - api key
      requestProcessor - request processor
  • Method Details