Package com.github.twitch4j.extensions
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 Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.the Extensions API traditionally uses the decommissioned Kraken API.static TwitchExtensionsBuilder
builder()
Deprecated.the Extensions API traditionally uses the decommissioned Kraken API.Deprecated.Base UrlDeprecated.Client IdDeprecated.Client Secretfeign.Logger.Level
Deprecated.you can overwrite the feign loglevel to print the full requests + responses if neededDeprecated.Proxy Configurationint
Deprecated.HTTP Request Queue Sizelong
Deprecated.Default TimeoutDeprecated.User Agentboolean
Deprecated.Whether the compatibility layer should be used to forward requests to the new Helix APIwithBaseUrl
(String baseUrl) Deprecated.Base UrlwithClientId
(String clientId) Deprecated.Client IdwithClientSecret
(String clientSecret) Deprecated.Client SecretwithHelixForwarding
(boolean helixForwarding) Deprecated.Whether the compatibility layer should be used to forward requests to the new Helix APIwithLogLevel
(feign.Logger.Level logLevel) Deprecated.you can overwrite the feign loglevel to print the full requests + responses if neededwithProxyConfig
(ProxyConfig proxyConfig) Deprecated.Proxy ConfigurationwithRequestQueueSize
(int requestQueueSize) Deprecated.HTTP Request Queue SizewithTimeout
(long timeout) Deprecated.Default TimeoutwithUserAgent
(String userAgent) Deprecated.User Agent
-
Method Details
-
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.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
Deprecated.Base Url -
getClientId
Deprecated.Client Id -
getClientSecret
Deprecated.Client Secret -
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
Deprecated.Proxy Configuration -
isHelixForwarding
public boolean isHelixForwarding()Deprecated.Whether the compatibility layer should be used to forward requests to the new Helix API -
withBaseUrl
Deprecated.Base Url- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withClientId
Deprecated.Client Id- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withClientSecret
Deprecated.Client Secret- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withUserAgent
Deprecated.User Agent- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withTimeout
Deprecated.Default Timeout- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withRequestQueueSize
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
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
Deprecated.Proxy Configuration- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withHelixForwarding
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).
-