Index
All Classes|All Packages
A
- AbstractConnectionPool<C> - Class in com.github.twitch4j.common.pool
-
A pool for connections to be created and destroyed.
- AbstractConnectionPool(AbstractConnectionPool.AbstractConnectionPoolBuilder<C, ?, ?>) - Constructor for class com.github.twitch4j.common.pool.AbstractConnectionPool
- AbstractConnectionPool.AbstractConnectionPoolBuilder<C,C2 extends AbstractConnectionPool<C>,B extends AbstractConnectionPool.AbstractConnectionPoolBuilder<C,C2,B>> - Class in com.github.twitch4j.common.pool
- AbstractConnectionPoolBuilder() - Constructor for class com.github.twitch4j.common.pool.AbstractConnectionPool.AbstractConnectionPoolBuilder
- advancedConfiguration - Variable in class com.github.twitch4j.common.pool.TwitchModuleConnectionPool
-
Further configuration that should be applied to the builder when creating new connections.
- advancedConfiguration(Function<B, B>) - Method in class com.github.twitch4j.common.pool.TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder
- AlternativeInstantDeserializer - Class in com.github.twitch4j.common.util
- AlternativeInstantDeserializer() - Constructor for class com.github.twitch4j.common.util.AlternativeInstantDeserializer
- ANON_RESUB_GIFT - com.github.twitch4j.common.enums.SubscriptionType
- ANON_SUB_GIFT - com.github.twitch4j.common.enums.SubscriptionType
- ANONYMOUS_CHEERER - Static variable in class com.github.twitch4j.common.util.TwitchUtils
-
The account used by twitch to signify an anonymous cheerer
- ANONYMOUS_GIFTER - Static variable in class com.github.twitch4j.common.util.TwitchUtils
-
The account used by twitch to signify an anonymous subscription gifter
- apply(RequestTemplate) - Method in class com.github.twitch4j.common.feign.interceptor.JsonContentTypeHeaderInterceptor
-
Interceptor
- apply(RequestTemplate) - Method in class com.github.twitch4j.common.feign.interceptor.TwitchClientIdInterceptor
-
Interceptor
- apply(OkHttpClient.Builder) - Method in class com.github.twitch4j.common.config.ProxyConfig
-
Applies this proxy configuration to an OkHttpClient
- applyWs(ProxySettings) - Method in class com.github.twitch4j.common.config.ProxyConfig
-
Applies this proxy configuration to a websocket factory's settings
B
- baseMillis(long) - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy.ExponentialBackoffStrategyBuilder
-
The milliseconds value for the first non-zero backoff.
- BITS_CHEERER - com.github.twitch4j.common.enums.CommandPermission
-
Cheered bits
- BROADCASTER - com.github.twitch4j.common.enums.CommandPermission
-
Broadcaster
- build() - Method in class com.github.twitch4j.common.config.ProxyConfig.ProxyConfigBuilder
- build() - Method in class com.github.twitch4j.common.pool.AbstractConnectionPool.AbstractConnectionPoolBuilder
- build() - Method in class com.github.twitch4j.common.pool.SubscriptionConnectionPool.SubscriptionConnectionPoolBuilder
- build() - Method in class com.github.twitch4j.common.pool.TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder
- build() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy.ExponentialBackoffStrategyBuilder
- builder() - Static method in class com.github.twitch4j.common.config.ProxyConfig
- builder() - Static method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
C
- canEqual(Object) - Method in class com.github.twitch4j.common.config.ProxyConfig
- canEqual(Object) - Method in class com.github.twitch4j.common.events.channel.ChannelChangeGameEvent
-
Deprecated.
- canEqual(Object) - Method in class com.github.twitch4j.common.events.channel.ChannelChangeTitleEvent
-
Deprecated.
- canEqual(Object) - Method in class com.github.twitch4j.common.events.channel.ChannelGoLiveEvent
-
Deprecated.
- canEqual(Object) - Method in class com.github.twitch4j.common.events.channel.ChannelGoOfflineEvent
-
Deprecated.
- canEqual(Object) - Method in class com.github.twitch4j.common.events.domain.EventChannel
- canEqual(Object) - Method in class com.github.twitch4j.common.events.domain.EventUser
- canEqual(Object) - Method in class com.github.twitch4j.common.events.TwitchEvent
- canEqual(Object) - Method in class com.github.twitch4j.common.events.user.PrivateMessageEvent
- ChannelChangeGameEvent - Class in com.github.twitch4j.common.events.channel
-
Deprecated.
- ChannelChangeGameEvent(EventChannel, String) - Constructor for class com.github.twitch4j.common.events.channel.ChannelChangeGameEvent
-
Deprecated.Event Constructor
- ChannelChangeTitleEvent - Class in com.github.twitch4j.common.events.channel
-
Deprecated.
- ChannelChangeTitleEvent(EventChannel, String) - Constructor for class com.github.twitch4j.common.events.channel.ChannelChangeTitleEvent
-
Deprecated.Event Constructor
- ChannelGoLiveEvent - Class in com.github.twitch4j.common.events.channel
-
Deprecated.
- ChannelGoLiveEvent(EventChannel, String, String) - Constructor for class com.github.twitch4j.common.events.channel.ChannelGoLiveEvent
-
Deprecated.Event Constructor
- ChannelGoOfflineEvent - Class in com.github.twitch4j.common.events.channel
-
Deprecated.
- ChannelGoOfflineEvent(EventChannel) - Constructor for class com.github.twitch4j.common.events.channel.ChannelGoOfflineEvent
-
Deprecated.Event Constructor
- ChatReply - Class in com.github.twitch4j.common.util
-
Meta-info regarding the parent message being replied to.
- ChatReply(String, String, String, String, String) - Constructor for class com.github.twitch4j.common.util.ChatReply
- chunked(Iterable<T>, int) - Static method in class com.github.twitch4j.common.util.CollectionUtils
-
Assigns elements of the given iterable to chunks not exceeding the desired size
- clearPassword() - Method in class com.github.twitch4j.common.config.ProxyConfig
-
Clears the character array storing the proxy password.
- clientId - Static variable in class com.github.twitch4j.common.config.Twitch4JGlobal
-
Default ClientId
- clientSecret - Static variable in class com.github.twitch4j.common.config.Twitch4JGlobal
-
Default ClientSecret
- close() - Method in class com.github.twitch4j.common.pool.AbstractConnectionPool
- CollectionUtils - Class in com.github.twitch4j.common.util
- CollectionUtils() - Constructor for class com.github.twitch4j.common.util.CollectionUtils
- com.github.twitch4j.common - package com.github.twitch4j.common
- com.github.twitch4j.common.annotation - package com.github.twitch4j.common.annotation
- com.github.twitch4j.common.config - package com.github.twitch4j.common.config
- com.github.twitch4j.common.enums - package com.github.twitch4j.common.enums
- com.github.twitch4j.common.events - package com.github.twitch4j.common.events
- com.github.twitch4j.common.events.channel - package com.github.twitch4j.common.events.channel
- com.github.twitch4j.common.events.domain - package com.github.twitch4j.common.events.domain
- com.github.twitch4j.common.events.user - package com.github.twitch4j.common.events.user
- com.github.twitch4j.common.exception - package com.github.twitch4j.common.exception
- com.github.twitch4j.common.feign - package com.github.twitch4j.common.feign
- com.github.twitch4j.common.feign.interceptor - package com.github.twitch4j.common.feign.interceptor
- com.github.twitch4j.common.pool - package com.github.twitch4j.common.pool
- com.github.twitch4j.common.util - package com.github.twitch4j.common.util
- CommandPermission - Enum in com.github.twitch4j.common.enums
- connectionEventManager(Supplier<EventManager>) - Method in class com.github.twitch4j.common.pool.TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder
- convertValue(Object, TypeReference<T>) - Static method in class com.github.twitch4j.common.util.TypeConvert
- convertValue(Object, Class<T>) - Static method in class com.github.twitch4j.common.util.TypeConvert
- copy() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
- createConnection() - Method in class com.github.twitch4j.common.pool.AbstractConnectionPool
- createEventManager() - Static method in class com.github.twitch4j.common.pool.TwitchModuleConnectionPool
- CryptoUtils - Class in com.github.twitch4j.common.util
- CryptoUtils() - Constructor for class com.github.twitch4j.common.util.CryptoUtils
- CURRENT_HYPE_TRAIN_CONDUCTOR - com.github.twitch4j.common.enums.CommandPermission
-
A conductor of the latest hype train
D
- deserialize(JsonParser, DeserializationContext) - Method in class com.github.twitch4j.common.util.AlternativeInstantDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class com.github.twitch4j.common.util.MilliInstantDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class com.github.twitch4j.common.util.NanoInstantDeserializer
- disposeConnection(C) - Method in class com.github.twitch4j.common.pool.AbstractConnectionPool
- disposeUnusedConnections - Variable in class com.github.twitch4j.common.pool.SubscriptionConnectionPool
-
Whether connections without subscriptions should be disposed of.
- disposeUnusedConnections(boolean) - Method in class com.github.twitch4j.common.pool.SubscriptionConnectionPool.SubscriptionConnectionPoolBuilder
E
- equals(Object) - Method in class com.github.twitch4j.common.config.ProxyConfig
- equals(Object) - Method in class com.github.twitch4j.common.events.channel.ChannelChangeGameEvent
-
Deprecated.
- equals(Object) - Method in class com.github.twitch4j.common.events.channel.ChannelChangeTitleEvent
-
Deprecated.
- equals(Object) - Method in class com.github.twitch4j.common.events.channel.ChannelGoLiveEvent
-
Deprecated.
- equals(Object) - Method in class com.github.twitch4j.common.events.channel.ChannelGoOfflineEvent
-
Deprecated.
- equals(Object) - Method in class com.github.twitch4j.common.events.domain.EventChannel
- equals(Object) - Method in class com.github.twitch4j.common.events.domain.EventUser
- equals(Object) - Method in class com.github.twitch4j.common.events.TwitchEvent
- equals(Object) - Method in class com.github.twitch4j.common.events.user.PrivateMessageEvent
- equals(Object) - Method in class com.github.twitch4j.common.util.ChatReply
- equals(Object) - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
- escapeTagValue(Object) - Static method in class com.github.twitch4j.common.util.EscapeUtils
-
Escapes a value for use in an IRCv3 message tag.
- EscapeUtils - Class in com.github.twitch4j.common.util
- EscapeUtils() - Constructor for class com.github.twitch4j.common.util.EscapeUtils
- EventChannel - Class in com.github.twitch4j.common.events.domain
- EventChannel(String, String) - Constructor for class com.github.twitch4j.common.events.domain.EventChannel
- eventManager(EventManager) - Method in class com.github.twitch4j.common.pool.TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder
- EventManagerUtils - Class in com.github.twitch4j.common.util
- EventManagerUtils() - Constructor for class com.github.twitch4j.common.util.EventManagerUtils
- EventUser - Class in com.github.twitch4j.common.events.domain
- EventUser(String, String) - Constructor for class com.github.twitch4j.common.events.domain.EventUser
- EVERYONE - com.github.twitch4j.common.enums.CommandPermission
-
Everyone
- executor - Variable in class com.github.twitch4j.common.pool.TwitchModuleConnectionPool
-
The
ScheduledThreadPoolExecutorto be used by connections in this pool, if specified. - executor(Supplier<ScheduledThreadPoolExecutor>) - Method in class com.github.twitch4j.common.pool.TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder
- expand(Object) - Method in class com.github.twitch4j.common.feign.JsonStringExpander
- expand(Object) - Method in class com.github.twitch4j.common.feign.ObjectToJsonExpander
- ExponentialBackoffStrategy - Class in com.github.twitch4j.common.util
-
Thread-safe, configurable helper for applying the exponential backoff algorithm with optional jitter and/or truncation.
- ExponentialBackoffStrategy.ExponentialBackoffStrategyBuilder - Class in com.github.twitch4j.common.util
- EXTEND_SUB - com.github.twitch4j.common.enums.SubscriptionType
F
- FORMER_HYPE_TRAIN_CONDUCTOR - com.github.twitch4j.common.enums.CommandPermission
-
Was a conductor of the previous hype train
- FOUNDER - com.github.twitch4j.common.enums.CommandPermission
-
Founder (first 10 subscribers of an Affiliate, or first 25 subscribers of a Partner)
- fromInstant(Instant) - Static method in class com.github.twitch4j.common.util.TimeUtils
- fromString(String) - Static method in enum com.github.twitch4j.common.enums.SubscriptionPlan
- fromString(String) - Static method in enum com.github.twitch4j.common.enums.SubscriptionType
G
- generateNonce(int) - Static method in class com.github.twitch4j.common.util.CryptoUtils
- get() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
-
Increments the failure count and computes the appropriate exponential backoff.
- getAuthenticator() - Method in class com.github.twitch4j.common.config.ProxyConfig
- getBaseMillis() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
-
The milliseconds value for the first non-zero backoff.
- getChannel() - Method in class com.github.twitch4j.common.events.channel.ChannelChangeGameEvent
-
Deprecated.Channel
- getChannel() - Method in class com.github.twitch4j.common.events.channel.ChannelChangeTitleEvent
-
Deprecated.Channel
- getChannel() - Method in class com.github.twitch4j.common.events.channel.ChannelGoLiveEvent
-
Deprecated.Channel
- getChannel() - Method in class com.github.twitch4j.common.events.channel.ChannelGoOfflineEvent
-
Deprecated.Channel
- getConnectionEventManager() - Method in class com.github.twitch4j.common.pool.TwitchModuleConnectionPool
- getConnections() - Method in class com.github.twitch4j.common.pool.AbstractConnectionPool
- getConnections() - Method in class com.github.twitch4j.common.pool.SubscriptionConnectionPool
- getCredential() - Static method in class com.github.twitch4j.common.TwitchTestUtils
-
Gets the OAuth Credential for integration tests
- getCurrentTimeInMillis() - Static method in class com.github.twitch4j.common.util.TimeUtils
-
Gets the current time in millis
- getDefaultConnectionEventManager() - Method in class com.github.twitch4j.common.pool.TwitchModuleConnectionPool
- getDefaultScheduledThreadPoolExecutor(String, Integer) - Static method in class com.github.twitch4j.common.util.ThreadUtils
-
The default thread pool executor used in twitch4j
- getDisplayName() - Method in class com.github.twitch4j.common.util.ChatReply
-
The display name of the user who originally sent the message being replied to.
- getEventManager() - Method in class com.github.twitch4j.common.pool.TwitchModuleConnectionPool
-
The default
EventManagerfor this connection pool, if specified. - getExecutor(String, int) - Method in class com.github.twitch4j.common.pool.TwitchModuleConnectionPool
- getFailures() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
- getGameId() - Method in class com.github.twitch4j.common.events.channel.ChannelChangeGameEvent
-
Deprecated.GameId
- getGameId() - Method in class com.github.twitch4j.common.events.channel.ChannelGoLiveEvent
-
Deprecated.GameId
- getGraphQLCredential() - Static method in class com.github.twitch4j.common.TwitchTestUtils
-
Gets the OAuth Credential for integration tests
- getHostname() - Method in class com.github.twitch4j.common.config.ProxyConfig
-
The hostname or IP address of the proxy server
- getId() - Method in class com.github.twitch4j.common.events.domain.EventChannel
-
Channel Id
- getId() - Method in class com.github.twitch4j.common.events.domain.EventUser
-
User Id
- getInitialJitterRange() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
-
The range of initial jitter amounts (in milliseconds) for when both
ExponentialBackoffStrategy.isImmediateFirst()andExponentialBackoffStrategy.isJitter()are true. - getMaximumBackoff() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
-
The maximum backoff value (on average), in milliseconds.
- getMaxRetries() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
-
The maximum number of retries that should be allowed.
- getMessage() - Method in class com.github.twitch4j.common.events.user.PrivateMessageEvent
-
Message
- getMessageBody() - Method in class com.github.twitch4j.common.util.ChatReply
-
The text of the original message being replied to.
- getMessageId() - Method in class com.github.twitch4j.common.util.ChatReply
-
The msgId of the original message being replied to.
- getMultiplier() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
-
The multiplier on back-offs that is in the base of the exponent.
- getName() - Method in class com.github.twitch4j.common.events.domain.EventChannel
-
Channel Name
- getName() - Method in class com.github.twitch4j.common.events.domain.EventUser
-
User Name
- getObjectMapper() - Static method in class com.github.twitch4j.common.util.TypeConvert
-
ObjectMapper
- getPassword() - Method in class com.github.twitch4j.common.config.ProxyConfig
-
The password used to authenticate with the proxy, if applicable
- getPermissions() - Method in class com.github.twitch4j.common.events.user.PrivateMessageEvent
-
Permissions of the user
- getPermissionsFromTags(Map<String, Object>, Map<String, String>) - Static method in class com.github.twitch4j.common.util.TwitchUtils
- getPermissionsFromTags(Map<String, Object>, Map<String, String>, String, Collection<String>) - Static method in class com.github.twitch4j.common.util.TwitchUtils
- getPermissionsFromTags(Map<String, Object>) - Static method in class com.github.twitch4j.common.util.TwitchUtils
- getPort() - Method in class com.github.twitch4j.common.config.ProxyConfig
-
The port of the proxy server
- getProxy() - Method in class com.github.twitch4j.common.config.ProxyConfig
- getRequestFromSubscription(T) - Method in class com.github.twitch4j.common.pool.SubscriptionConnectionPool
- getSubscriptionSize(S) - Method in class com.github.twitch4j.common.pool.SubscriptionConnectionPool
- getTitle() - Method in class com.github.twitch4j.common.events.channel.ChannelChangeTitleEvent
-
Deprecated.Title
- getTitle() - Method in class com.github.twitch4j.common.events.channel.ChannelGoLiveEvent
-
Deprecated.Title
- getUser() - Method in class com.github.twitch4j.common.events.user.PrivateMessageEvent
-
User
- getUserId() - Method in class com.github.twitch4j.common.util.ChatReply
-
The id of the user who originally sent the message being replied to.
- getUserLogin() - Method in class com.github.twitch4j.common.util.ChatReply
-
The login name of the user who originally sent the message being replied to.
- getUsername() - Method in class com.github.twitch4j.common.config.ProxyConfig
-
The username used to authenticate with the proxy, if applicable
H
- handleDuplicateSubscription(C, C, S) - Method in class com.github.twitch4j.common.pool.SubscriptionConnectionPool
- handleSubscription(C, S) - Method in class com.github.twitch4j.common.pool.SubscriptionConnectionPool
- handleUnsubscription(C, T) - Method in class com.github.twitch4j.common.pool.SubscriptionConnectionPool
- hashCode() - Method in class com.github.twitch4j.common.config.ProxyConfig
- hashCode() - Method in class com.github.twitch4j.common.events.channel.ChannelChangeGameEvent
-
Deprecated.
- hashCode() - Method in class com.github.twitch4j.common.events.channel.ChannelChangeTitleEvent
-
Deprecated.
- hashCode() - Method in class com.github.twitch4j.common.events.channel.ChannelGoLiveEvent
-
Deprecated.
- hashCode() - Method in class com.github.twitch4j.common.events.channel.ChannelGoOfflineEvent
-
Deprecated.
- hashCode() - Method in class com.github.twitch4j.common.events.domain.EventChannel
- hashCode() - Method in class com.github.twitch4j.common.events.domain.EventUser
- hashCode() - Method in class com.github.twitch4j.common.events.TwitchEvent
- hashCode() - Method in class com.github.twitch4j.common.events.user.PrivateMessageEvent
- hashCode() - Method in class com.github.twitch4j.common.util.ChatReply
- hashCode() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
- hexToBytes(String) - Static method in class com.github.twitch4j.common.util.CryptoUtils
- hostname(String) - Method in class com.github.twitch4j.common.config.ProxyConfig.ProxyConfigBuilder
-
The hostname or IP address of the proxy server
I
- immediateFirst(boolean) - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy.ExponentialBackoffStrategyBuilder
-
Whether the first attempt after a failure should take place without delay.
- initializeEventManager(Class) - Static method in class com.github.twitch4j.common.util.EventManagerUtils
-
Initializes a new EventManager instance.
- initialJitterRange(long) - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy.ExponentialBackoffStrategyBuilder
-
The range of initial jitter amounts (in milliseconds) for when both
ExponentialBackoffStrategy.isImmediateFirst()andExponentialBackoffStrategy.isJitter()are true. - isImmediateFirst() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
-
Whether the first attempt after a failure should take place without delay.
- isJitter() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
-
Whether (pseudo-)randomness should be applied when computing the exponential backoff.
J
- jitter(boolean) - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy.ExponentialBackoffStrategyBuilder
-
Whether (pseudo-)randomness should be applied when computing the exponential backoff.
- JsonContentTypeHeaderInterceptor - Class in com.github.twitch4j.common.feign.interceptor
-
Injects the content-type application/json into all PUT,PATCH,POST requests that didn't specify a content-type
- JsonContentTypeHeaderInterceptor() - Constructor for class com.github.twitch4j.common.feign.interceptor.JsonContentTypeHeaderInterceptor
- JsonStringExpander - Class in com.github.twitch4j.common.feign
-
Escapes a string so that it can be safely inserted in an existing JSON string that is within the
Body - JsonStringExpander() - Constructor for class com.github.twitch4j.common.feign.JsonStringExpander
- jsonToObject(String, Class<T>) - Static method in class com.github.twitch4j.common.util.TypeConvert
M
- maximumBackoff(long) - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy.ExponentialBackoffStrategyBuilder
-
The maximum backoff value (on average), in milliseconds.
- maxRetries(int) - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy.ExponentialBackoffStrategyBuilder
-
The maximum number of retries that should be allowed.
- maxSubscriptionsPerConnection - Variable in class com.github.twitch4j.common.pool.SubscriptionConnectionPool
-
The maximum number of outstanding subscriptions a connection may have.
- maxSubscriptionsPerConnection(int) - Method in class com.github.twitch4j.common.pool.SubscriptionConnectionPool.SubscriptionConnectionPoolBuilder
- MilliInstantDeserializer - Class in com.github.twitch4j.common.util
- MilliInstantDeserializer() - Constructor for class com.github.twitch4j.common.util.MilliInstantDeserializer
- MODERATOR - com.github.twitch4j.common.enums.CommandPermission
-
Channel Moderator
- multiplier(double) - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy.ExponentialBackoffStrategyBuilder
-
The multiplier on back-offs that is in the base of the exponent.
N
- NanoInstantDeserializer - Class in com.github.twitch4j.common.util
- NanoInstantDeserializer() - Constructor for class com.github.twitch4j.common.util.NanoInstantDeserializer
- NONE - com.github.twitch4j.common.enums.SubscriptionPlan
- NotFoundException - Exception in com.github.twitch4j.common.exception
-
API Error: Not Found
- NotFoundException() - Constructor for exception com.github.twitch4j.common.exception.NotFoundException
- numConnections() - Method in class com.github.twitch4j.common.pool.AbstractConnectionPool
- numConnections() - Method in class com.github.twitch4j.common.pool.SubscriptionConnectionPool
- numSubscriptions() - Method in class com.github.twitch4j.common.pool.SubscriptionConnectionPool
O
- objectToJson(Object) - Static method in class com.github.twitch4j.common.util.TypeConvert
- ObjectToJsonExpander - Class in com.github.twitch4j.common.feign
- ObjectToJsonExpander() - Constructor for class com.github.twitch4j.common.feign.ObjectToJsonExpander
- ordinalName() - Method in enum com.github.twitch4j.common.enums.SubscriptionPlan
- ordinalName() - Method in enum com.github.twitch4j.common.enums.SubscriptionType
- OWNER - com.github.twitch4j.common.enums.CommandPermission
-
Bot Owner
P
- parse(Map<String, String>) - Static method in class com.github.twitch4j.common.util.ChatReply
-
Attempts to parse a
ChatReplyinstance from chat tags. - parseBadges(String) - Static method in class com.github.twitch4j.common.util.TwitchUtils
-
Parse Badges from raw list
- PARTNER - com.github.twitch4j.common.enums.CommandPermission
-
Twitch Partners
- password(char[]) - Method in class com.github.twitch4j.common.config.ProxyConfig.ProxyConfigBuilder
-
The password used to authenticate with the proxy, if applicable
- port(Integer) - Method in class com.github.twitch4j.common.config.ProxyConfig.ProxyConfigBuilder
-
The port of the proxy server
- PREDICTIONS_BLUE - com.github.twitch4j.common.enums.CommandPermission
-
Participated in the most recent predictions event for the blue/first option
- PREDICTIONS_PINK - com.github.twitch4j.common.enums.CommandPermission
-
Participated in the most recent predictions event for the pink/second option
- PRIME_TURBO - com.github.twitch4j.common.enums.CommandPermission
-
Twitch Prime/Twitch Turbo User
- PrivateMessageEvent - Class in com.github.twitch4j.common.events.user
-
This event gets called when the bot gets a private message.
- PrivateMessageEvent(EventUser, String, Set<CommandPermission>) - Constructor for class com.github.twitch4j.common.events.user.PrivateMessageEvent
-
Event Constructor
- proxyConfig - Variable in class com.github.twitch4j.common.pool.TwitchModuleConnectionPool
-
The
ProxyConfigto be used by connections in this pool, if specified. - proxyConfig(Supplier<ProxyConfig>) - Method in class com.github.twitch4j.common.pool.TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder
- ProxyConfig - Class in com.github.twitch4j.common.config
-
Wrapper around a HTTP(S) proxy to be used by Twitch4J modules
- ProxyConfig.ProxyConfigBuilder - Class in com.github.twitch4j.common.config
R
- REPLY_MSG_ID_TAG_NAME - Static variable in class com.github.twitch4j.common.util.ChatReply
- reset() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
-
Resets the failure count for exponential backoff calculations.
- RESUB - com.github.twitch4j.common.enums.SubscriptionType
- RESUB_GIFT - com.github.twitch4j.common.enums.SubscriptionType
S
- saturatedConnections - Variable in class com.github.twitch4j.common.pool.SubscriptionConnectionPool
-
Connections that are already at the maximum subscriptions.
- self() - Method in class com.github.twitch4j.common.pool.AbstractConnectionPool.AbstractConnectionPoolBuilder
- self() - Method in class com.github.twitch4j.common.pool.SubscriptionConnectionPool.SubscriptionConnectionPoolBuilder
- self() - Method in class com.github.twitch4j.common.pool.TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder
- setFailures(int) - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
- sleep() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
-
Sleeps for the delay suggested by
ExponentialBackoffStrategy.get(). - SUB - com.github.twitch4j.common.enums.SubscriptionType
- SUB_GIFT - com.github.twitch4j.common.enums.SubscriptionType
- SUBGIFTER - com.github.twitch4j.common.enums.CommandPermission
-
Gifted a sub
- subscribe(S) - Method in class com.github.twitch4j.common.pool.SubscriptionConnectionPool
- subscribe(S) - Method in interface com.github.twitch4j.common.pool.TransactionalSubscriber
-
Submits a subscription request.
- SUBSCRIBER - com.github.twitch4j.common.enums.CommandPermission
-
Subscriber (any Tier)
- SubscriptionConnectionPool<C,S,T,U> - Class in com.github.twitch4j.common.pool
-
A pool of connections for making subscriptions (and potentially unsubscribing from later).
- SubscriptionConnectionPool(SubscriptionConnectionPool.SubscriptionConnectionPoolBuilder<C, S, T, U, ?, ?>) - Constructor for class com.github.twitch4j.common.pool.SubscriptionConnectionPool
- SubscriptionConnectionPool.SubscriptionConnectionPoolBuilder<C,S,T,U,C2 extends SubscriptionConnectionPool<C,S,T,U>,B extends SubscriptionConnectionPool.SubscriptionConnectionPoolBuilder<C,S,T,U,C2,B>> - Class in com.github.twitch4j.common.pool
- SubscriptionConnectionPoolBuilder() - Constructor for class com.github.twitch4j.common.pool.SubscriptionConnectionPool.SubscriptionConnectionPoolBuilder
- SubscriptionPlan - Enum in com.github.twitch4j.common.enums
-
Enumeric Twitch Subscription Plan
- subscriptions - Variable in class com.github.twitch4j.common.pool.SubscriptionConnectionPool
-
A mapping of which connections hold what subscriptions.
- SubscriptionType - Enum in com.github.twitch4j.common.enums
-
Enumeric Twitch Subscription Type
T
- ThreadUtils - Class in com.github.twitch4j.common.util
- ThreadUtils() - Constructor for class com.github.twitch4j.common.util.ThreadUtils
- TIER1 - com.github.twitch4j.common.enums.SubscriptionPlan
- TIER2 - com.github.twitch4j.common.enums.SubscriptionPlan
- TIER3 - com.github.twitch4j.common.enums.SubscriptionPlan
- TimeUtils - Class in com.github.twitch4j.common.util
- TimeUtils() - Constructor for class com.github.twitch4j.common.util.TimeUtils
- toBuilder() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
- toString() - Method in class com.github.twitch4j.common.config.ProxyConfig.ProxyConfigBuilder
- toString() - Method in class com.github.twitch4j.common.config.ProxyConfig
- toString() - Method in enum com.github.twitch4j.common.enums.SubscriptionPlan
- toString() - Method in enum com.github.twitch4j.common.enums.SubscriptionType
- toString() - Method in class com.github.twitch4j.common.events.channel.ChannelChangeGameEvent
-
Deprecated.
- toString() - Method in class com.github.twitch4j.common.events.channel.ChannelChangeTitleEvent
-
Deprecated.
- toString() - Method in class com.github.twitch4j.common.events.channel.ChannelGoLiveEvent
-
Deprecated.
- toString() - Method in class com.github.twitch4j.common.events.channel.ChannelGoOfflineEvent
-
Deprecated.
- toString() - Method in class com.github.twitch4j.common.events.domain.EventChannel
- toString() - Method in class com.github.twitch4j.common.events.domain.EventUser
- toString() - Method in class com.github.twitch4j.common.events.TwitchEvent
- toString() - Method in class com.github.twitch4j.common.events.user.PrivateMessageEvent
- toString() - Method in class com.github.twitch4j.common.pool.AbstractConnectionPool.AbstractConnectionPoolBuilder
- toString() - Method in class com.github.twitch4j.common.pool.SubscriptionConnectionPool.SubscriptionConnectionPoolBuilder
- toString() - Method in class com.github.twitch4j.common.pool.TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder
- toString() - Method in class com.github.twitch4j.common.util.ChatReply
- toString() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy.ExponentialBackoffStrategyBuilder
- toString() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
- TransactionalSubscriber<S,T,U> - Interface in com.github.twitch4j.common.pool
-
Generic interface for objects that can respond to a subscription request, S, with a response, T, which can later be used for unsubscription to yield U.
- TWITCH_PRIME - com.github.twitch4j.common.enums.SubscriptionPlan
- Twitch4JGlobal - Class in com.github.twitch4j.common.config
- Twitch4JGlobal() - Constructor for class com.github.twitch4j.common.config.Twitch4JGlobal
- TwitchClientIdInterceptor - Class in com.github.twitch4j.common.feign.interceptor
-
Injects ClientId Header, the User Agent and other common headers into each API Request
- TwitchClientIdInterceptor(String, String) - Constructor for class com.github.twitch4j.common.feign.interceptor.TwitchClientIdInterceptor
-
Constructor
- TwitchEvent - Class in com.github.twitch4j.common.events
- TwitchEvent() - Constructor for class com.github.twitch4j.common.events.TwitchEvent
-
Constructor
- TwitchModuleConnectionPool<C,X,Y,Z,B> - Class in com.github.twitch4j.common.pool
-
Adds common configuration options for subscription-based connection pools built around instances of T4J modules.
- TwitchModuleConnectionPool(TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder<C, X, Y, Z, B, ?, ?>) - Constructor for class com.github.twitch4j.common.pool.TwitchModuleConnectionPool
- TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder<C,X,Y,Z,B,C2 extends TwitchModuleConnectionPool<C,X,Y,Z,B>,B2 extends TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder<C,X,Y,Z,B,C2,B2>> - Class in com.github.twitch4j.common.pool
- TwitchModuleConnectionPoolBuilder() - Constructor for class com.github.twitch4j.common.pool.TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder
- TWITCHSTAFF - com.github.twitch4j.common.enums.CommandPermission
-
Twitch Staff
- TwitchTestUtils - Class in com.github.twitch4j.common
- TwitchTestUtils() - Constructor for class com.github.twitch4j.common.TwitchTestUtils
- TwitchUtils - Class in com.github.twitch4j.common.util
- TwitchUtils() - Constructor for class com.github.twitch4j.common.util.TwitchUtils
- TypeConvert - Class in com.github.twitch4j.common.util
- TypeConvert() - Constructor for class com.github.twitch4j.common.util.TypeConvert
U
- UnauthorizedException - Exception in com.github.twitch4j.common.exception
-
API Error: Unauthorized
- UnauthorizedException() - Constructor for exception com.github.twitch4j.common.exception.UnauthorizedException
- unescapeTagValue(String) - Static method in class com.github.twitch4j.common.util.EscapeUtils
-
Unescapes a value used in a IRCv3 message tag.
- Unofficial - Annotation Type in com.github.twitch4j.common.annotation
-
Annotates a method or features that uses unofficial api endpoints, those can break at any point in time.
- unsaturatedConnections - Variable in class com.github.twitch4j.common.pool.SubscriptionConnectionPool
-
A mapping of connections that are not saturated yet to the number of subscriptions they have.
- unsubscribe(T) - Method in class com.github.twitch4j.common.pool.SubscriptionConnectionPool
- unsubscribe(T) - Method in interface com.github.twitch4j.common.pool.TransactionalSubscriber
-
Submits an unsubscription request.
- userAgent - Static variable in class com.github.twitch4j.common.config.Twitch4JGlobal
-
Default UserAgent
- username(String) - Method in class com.github.twitch4j.common.config.ProxyConfig.ProxyConfigBuilder
-
The username used to authenticate with the proxy, if applicable
V
- validateEventManager(EventManager) - Static method in class com.github.twitch4j.common.util.EventManagerUtils
-
Checks if the provided EventManager is usable by Twitch4J
- validateOrInitializeEventManager(EventManager, Class) - Static method in class com.github.twitch4j.common.util.EventManagerUtils
-
Validates the provided EventManager or initializes a new one
- valueOf(String) - Static method in enum com.github.twitch4j.common.enums.CommandPermission
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.twitch4j.common.enums.SubscriptionPlan
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.twitch4j.common.enums.SubscriptionType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.github.twitch4j.common.enums.CommandPermission
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.github.twitch4j.common.enums.SubscriptionPlan
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.github.twitch4j.common.enums.SubscriptionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VIP - com.github.twitch4j.common.enums.CommandPermission
-
VIP
All Classes|All Packages