Index

A B C E F G H I J M P R S T U 
All Classes and Interfaces|All Packages

A

apply(OkHttpClient.Builder) - Method in class com.github.twitch4j.common.config.ProxyConfig
Applies this proxy configuration to an OkHttpClient

B

baseMillis(long) - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy.ExponentialBackoffStrategyBuilder
The milliseconds value for the first non-zero backoff.
build() - Method in class com.github.twitch4j.common.config.ProxyConfig.ProxyConfigBuilder
 
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
 
buildMapping(E[]) - Static method in class com.github.twitch4j.util.EnumUtil
Creates a mapping of enum values by their string representation.
buildMapping(E[], Function<E, K>) - Static method in class com.github.twitch4j.util.EnumUtil
Creates a mapping of enum values via an arbitrary key derivation function.
buildMapping(E[], Function<E, K>, Function<E, V>) - Static method in class com.github.twitch4j.util.EnumUtil
Transforms enum values to a key-value map based on the specified functions.

C

canEqual(Object) - Method in class com.github.twitch4j.common.config.ProxyConfig
 
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.
CollectionUtils - Class in com.github.twitch4j.common.util
 
CollectionUtils() - Constructor for class com.github.twitch4j.common.util.CollectionUtils
 
com.github.twitch4j.common.config - package com.github.twitch4j.common.config
 
com.github.twitch4j.common.util - package com.github.twitch4j.common.util
 
com.github.twitch4j.util - package com.github.twitch4j.util
 
copy() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
 
CryptoUtils - Class in com.github.twitch4j.common.util
 
CryptoUtils() - Constructor for class com.github.twitch4j.common.util.CryptoUtils
 

E

EnumUtil - Class in com.github.twitch4j.util
 
equals(Object) - Method in class com.github.twitch4j.common.config.ProxyConfig
 
equals(Object) - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
 
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
 

F

fromInstant(Instant) - Static method in class com.github.twitch4j.common.util.TimeUtils
Deprecated.
Will no longer be used by Twitch4J from version 2.0.0

G

generateNonce(int) - Static method in class com.github.twitch4j.common.util.CryptoUtils
 
get() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
 
get() - Method in interface com.github.twitch4j.util.IBackoffStrategy
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.
getCurrentTimeInMillis() - Static method in class com.github.twitch4j.common.util.TimeUtils
Gets the current time in millis
getFailures() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
 
getFailures() - Method in interface com.github.twitch4j.util.IBackoffStrategy
Returns the current failure count
getHostname() - Method in class com.github.twitch4j.common.config.ProxyConfig
The hostname or IP address of the proxy server
getInitialJitterRange() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
The range of initial jitter amounts (in milliseconds) for when both ExponentialBackoffStrategy.isImmediateFirst() and ExponentialBackoffStrategy.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.
getMultiplier() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
The multiplier on back-offs that is in the base of the exponent.
getPaginated(Function<String, K>, Function<K, Collection<T>>, Function<K, String>) - Static method in class com.github.twitch4j.util.PaginationUtil
Obtains a full list of results from paginated calls.
getPaginated(Function<String, K>, Function<K, Collection<T>>, Function<K, String>, int) - Static method in class com.github.twitch4j.util.PaginationUtil
Obtains a full list of results from paginated calls, up to a max number of pages.
getPaginated(Function<String, K>, Function<K, Collection<T>>, Function<K, String>, int, int) - Static method in class com.github.twitch4j.util.PaginationUtil
Obtains a full list of results from paginated calls, up to a max number of pages and elements.
getPaginated(Function<String, K>, Function<K, Collection<T>>, Function<K, String>, int, int, Supplier<C>) - Static method in class com.github.twitch4j.util.PaginationUtil
Obtains a full (user-specified) collection of results from paginated calls, up to a max number of pages and elements.
getPaginated(Function<String, K>, Function<K, Collection<T>>, Function<K, String>, int, int, Supplier<C>, boolean) - Static method in class com.github.twitch4j.util.PaginationUtil
Obtains a full (user-specified) collection of results from paginated calls, up to a max number of pages and elements, while optionally avoiding duplicate cursors.
getPaginated(Function<P, K>, Function<K, Collection<T>>, Function<K, P>, int, int, Supplier<C>, boolean, P, Predicate<P>) - Static method in class com.github.twitch4j.util.PaginationUtil
Obtains a full (user-specified) collection of results from paginated calls with arbitrary cursors, up to a max number of pages and elements, while optionally avoiding duplicate cursors.
getPassword() - Method in class com.github.twitch4j.common.config.ProxyConfig
The password used to authenticate with the proxy, if applicable
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
 
getUsername() - Method in class com.github.twitch4j.common.config.ProxyConfig
The username used to authenticate with the proxy, if applicable

H

hashCode() - Method in class com.github.twitch4j.common.config.ProxyConfig
 
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

IBackoffStrategy - Interface in com.github.twitch4j.util
 
immediateFirst(boolean) - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy.ExponentialBackoffStrategyBuilder
Whether the first attempt after a failure should take place without delay.
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() and ExponentialBackoffStrategy.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.

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.
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.

P

PaginationUtil - Class in com.github.twitch4j.util
 
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
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

reset() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
 
reset() - Method in interface com.github.twitch4j.util.IBackoffStrategy
Resets the failure count for exponential backoff calculations.

S

setFailures(int) - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
 
sleep() - Method in interface com.github.twitch4j.util.IBackoffStrategy
Sleeps for the delay suggested by IBackoffStrategy.get().

T

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 class com.github.twitch4j.common.util.ExponentialBackoffStrategy.ExponentialBackoffStrategyBuilder
 
toString() - Method in class com.github.twitch4j.common.util.ExponentialBackoffStrategy
 

U

username(String) - Method in class com.github.twitch4j.common.config.ProxyConfig.ProxyConfigBuilder
The username used to authenticate with the proxy, if applicable
A B C E F G H I J M P R S T U 
All Classes and Interfaces|All Packages