Class TwitchExtensionsBuilder

java.lang.Object
com.github.twitch4j.extensions.TwitchExtensionsBuilder

@Deprecated @ScheduledForRemoval(inVersion="2.0.0") public class TwitchExtensionsBuilder extends Object
Deprecated.
the Extensions API traditionally uses the decommissioned Kraken API. While the module now forwards calls to Helix, please migrate to using Helix directly as this module will be removed in the future.
Twitch API - Extensions
See Also:
  • Method Details

    • build

      @Deprecated public TwitchExtensions build()
      Deprecated.
      the Extensions API traditionally uses the decommissioned Kraken API. While the module now forwards calls to Helix, please migrate to using Helix directly as this module will be removed in the future.
      Twitch API Client (Extensions)
      Returns:
      TwitchExtensions
      See Also:
    • builder

      @Deprecated public static TwitchExtensionsBuilder builder()
      Deprecated.
      the Extensions API traditionally uses the decommissioned Kraken API. While the module now forwards calls to Helix, please migrate to using Helix directly as this module will be removed in the future.
      Initialize the builder
      Returns:
      Twitch Extensions Builder
      See Also:
    • getBaseUrl

      public String getBaseUrl()
      Deprecated.
      Base Url
    • getClientId

      public String getClientId()
      Deprecated.
      Client Id
    • getClientSecret

      public String getClientSecret()
      Deprecated.
      Client Secret
    • getUserAgent

      public String getUserAgent()
      Deprecated.
      User Agent
    • getTimeout

      public long getTimeout()
      Deprecated.
      Default Timeout
    • getRequestQueueSize

      public int getRequestQueueSize()
      Deprecated.
      HTTP Request Queue Size
    • getLogLevel

      public feign.Logger.Level getLogLevel()
      Deprecated.
      you can overwrite the feign loglevel to print the full requests + responses if needed
    • getProxyConfig

      public ProxyConfig getProxyConfig()
      Deprecated.
      Proxy Configuration
    • isHelixForwarding

      public boolean isHelixForwarding()
      Deprecated.
      Whether the compatibility layer should be used to forward requests to the new Helix API
    • withBaseUrl

      public TwitchExtensionsBuilder withBaseUrl(String baseUrl)
      Deprecated.
      Base Url
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withClientId

      public TwitchExtensionsBuilder withClientId(String clientId)
      Deprecated.
      Client Id
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withClientSecret

      public TwitchExtensionsBuilder withClientSecret(String clientSecret)
      Deprecated.
      Client Secret
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withUserAgent

      public TwitchExtensionsBuilder withUserAgent(String userAgent)
      Deprecated.
      User Agent
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withTimeout

      public TwitchExtensionsBuilder withTimeout(long timeout)
      Deprecated.
      Default Timeout
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withRequestQueueSize

      public TwitchExtensionsBuilder withRequestQueueSize(int requestQueueSize)
      Deprecated.
      HTTP Request Queue Size
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withLogLevel

      public TwitchExtensionsBuilder withLogLevel(feign.Logger.Level logLevel)
      Deprecated.
      you can overwrite the feign loglevel to print the full requests + responses if needed
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withProxyConfig

      public TwitchExtensionsBuilder withProxyConfig(ProxyConfig proxyConfig)
      Deprecated.
      Proxy Configuration
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withHelixForwarding

      public TwitchExtensionsBuilder withHelixForwarding(boolean helixForwarding)
      Deprecated.
      Whether the compatibility layer should be used to forward requests to the new Helix API
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).