Package com.github.twitch4j.tmi
Class TwitchMessagingInterfaceBuilder
java.lang.Object
com.github.twitch4j.tmi.TwitchMessagingInterfaceBuilder
Twitch API - Messaging Interface
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.builder()
Initialize the builderBaseUrlClient IdClient Secretfeign.Logger.Level
you can overwrite the feign loglevel to print the full requests + responses if neededProxy ConfigurationHTTP Request Queue SizeDefault TimeoutUser AgentwithClientId
(String clientId) Client IdwithClientSecret
(String clientSecret) Client SecretwithLogLevel
(feign.Logger.Level logLevel) you can overwrite the feign loglevel to print the full requests + responses if neededwithProxyConfig
(ProxyConfig proxyConfig) Proxy ConfigurationwithRequestQueueSize
(Integer requestQueueSize) HTTP Request Queue SizewithTimeout
(Integer timeout) Default TimeoutwithUserAgent
(String userAgent) User Agent
-
Method Details
-
builder
Initialize the builder- Returns:
- Twitch Helix Builder
-
build
Deprecated.All of theTwitchMessagingInterfaceBuilder
endpoints have been (or will be) decommissioned by Twitch.Twitch API Client (Helix)- Returns:
- TwitchHelix
-
getClientId
Client Id -
getClientSecret
Client Secret -
getUserAgent
User Agent -
getRequestQueueSize
HTTP Request Queue Size -
getBaseUrl
BaseUrl -
getTimeout
Default Timeout -
getLogLevel
public feign.Logger.Level getLogLevel()you can overwrite the feign loglevel to print the full requests + responses if needed -
getProxyConfig
Proxy Configuration -
withClientId
Client Id- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withClientSecret
Client Secret- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withUserAgent
User Agent- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withRequestQueueSize
HTTP Request Queue Size- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withTimeout
Default Timeout- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withLogLevel
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
Proxy Configuration- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
TwitchMessagingInterfaceBuilder
endpoints have been (or will be) decommissioned by Twitch.