Index
All Classes and Interfaces|All Packages|Serialized Form
A
- apply(Integer) - Method in class DefaultGetUpdatesGenerator
B
- BackOff - Interface in org.telegram.telegrambots.longpolling.interfaces
- BotSession - Class in org.telegram.telegrambots.longpolling
- BotSession(ObjectMapper, OkHttpClient, ScheduledExecutorService, String, Supplier<TelegramUrl>, Function<Integer, GetUpdates>, Supplier<BackOff>, LongPollingUpdateConsumer) - Constructor for class BotSession
- build() - Method in class ExponentialBackOff.Builder
-
Builds a new instance of
ExponentialBackOff. - Builder() - Constructor for class ExponentialBackOff.Builder
C
- close() - Method in class BotSession
- close() - Method in class TelegramBotsLongPollingApplication
- consume(List<Update>) - Method in interface LongPollingUpdateConsumer
- consume(List<Update>) - Method in interface LongPollingSingleThreadUpdateConsumer
- consume(Update) - Method in interface LongPollingSingleThreadUpdateConsumer
D
- DefaultGetUpdatesGenerator - Class in org.telegram.telegrambots.longpolling.util
- DefaultGetUpdatesGenerator() - Constructor for class DefaultGetUpdatesGenerator
- DefaultOkHttpClientCreator() - Constructor for class TelegramOkHttpClientFactory.DefaultOkHttpClientCreator
E
- ExponentialBackOff - Class in org.telegram.telegrambots.longpolling.util
-
Implementation of BackOff that increases the back off period for each retry attempt using a randomization function that grows exponentially.
- ExponentialBackOff() - Constructor for class ExponentialBackOff
-
Creates an instance of ExponentialBackOffPolicy using default values.
- ExponentialBackOff.Builder - Class in org.telegram.telegrambots.longpolling.util
-
Builder for
ExponentialBackOff.
G
- get() - Method in class TelegramOkHttpClientFactory.DefaultOkHttpClientCreator
- get() - Method in class TelegramOkHttpClientFactory.ProxyOkHttpClientCreator
- getBaseClient() - Static method in class TelegramOkHttpClientFactory.DefaultOkHttpClientCreator
I
- isRunning() - Method in class BotSession
- isRunning() - Method in class TelegramBotsLongPollingApplication
L
- LongPollingSingleThreadUpdateConsumer - Interface in org.telegram.telegrambots.longpolling.util
- LongPollingUpdateConsumer - Interface in org.telegram.telegrambots.longpolling.interfaces
N
- nextBackOffMillis() - Method in interface BackOff
-
specify the next backoff interval in milliseconds
- nextBackOffMillis() - Method in class ExponentialBackOff
-
specify the next backoff interval in milliseconds
O
- org.telegram.telegrambots.longpolling - package org.telegram.telegrambots.longpolling
- org.telegram.telegrambots.longpolling.exceptions - package org.telegram.telegrambots.longpolling.exceptions
- org.telegram.telegrambots.longpolling.interfaces - package org.telegram.telegrambots.longpolling.interfaces
- org.telegram.telegrambots.longpolling.util - package org.telegram.telegrambots.longpolling.util
P
- ProxyOkHttpClientCreator() - Constructor for class TelegramOkHttpClientFactory.ProxyOkHttpClientCreator
R
- registerBot(String, Supplier<TelegramUrl>, Function<Integer, GetUpdates>, LongPollingUpdateConsumer) - Method in class TelegramBotsLongPollingApplication
- registerBot(String, LongPollingUpdateConsumer) - Method in class TelegramBotsLongPollingApplication
- reset() - Method in interface BackOff
-
Should be able to reset to the starting
- reset() - Method in class ExponentialBackOff
-
Sets the interval back to the initial retry interval and restarts the timer.
S
- setInitialIntervalMillis(int) - Method in class ExponentialBackOff.Builder
- setMaxElapsedTimeMillis(int) - Method in class ExponentialBackOff.Builder
- setMaxIntervalMillis(int) - Method in class ExponentialBackOff.Builder
- setMultiplier(double) - Method in class ExponentialBackOff.Builder
- setRandomizationFactor(double) - Method in class ExponentialBackOff.Builder
- start() - Method in class BotSession
- start() - Method in class TelegramBotsLongPollingApplication
- stop() - Method in class BotSession
- stop() - Method in class TelegramBotsLongPollingApplication
T
- TelegramApiErrorResponseException - Exception in org.telegram.telegrambots.longpolling.exceptions
- TelegramApiErrorResponseException(int, String) - Constructor for exception TelegramApiErrorResponseException
- TelegramApiErrorResponseException(String) - Constructor for exception TelegramApiErrorResponseException
- TelegramApiErrorResponseException(String, Throwable) - Constructor for exception TelegramApiErrorResponseException
- TelegramApiErrorResponseException(Throwable) - Constructor for exception TelegramApiErrorResponseException
- TelegramBotsLongPollingApplication - Class in org.telegram.telegrambots.longpolling
- TelegramBotsLongPollingApplication() - Constructor for class TelegramBotsLongPollingApplication
- TelegramBotsLongPollingApplication(Supplier<ObjectMapper>) - Constructor for class TelegramBotsLongPollingApplication
- TelegramBotsLongPollingApplication(Supplier<ObjectMapper>, Supplier<OkHttpClient>) - Constructor for class TelegramBotsLongPollingApplication
- TelegramBotsLongPollingApplication(Supplier<ObjectMapper>, Supplier<OkHttpClient>, Supplier<ScheduledExecutorService>) - Constructor for class TelegramBotsLongPollingApplication
- TelegramBotsLongPollingApplication(Supplier<ObjectMapper>, Supplier<OkHttpClient>, Supplier<ScheduledExecutorService>, Supplier<BackOff>) - Constructor for class TelegramBotsLongPollingApplication
- TelegramOkHttpClientFactory - Class in org.telegram.telegrambots.longpolling.util
- TelegramOkHttpClientFactory() - Constructor for class TelegramOkHttpClientFactory
- TelegramOkHttpClientFactory.DefaultOkHttpClientCreator - Class in org.telegram.telegrambots.longpolling.util
- TelegramOkHttpClientFactory.ProxyOkHttpClientCreator - Class in org.telegram.telegrambots.longpolling.util
- toString() - Method in exception TelegramApiErrorResponseException
U
- unregisterBot(String) - Method in class TelegramBotsLongPollingApplication
- updatesProcessorExecutor - Static variable in interface LongPollingSingleThreadUpdateConsumer
All Classes and Interfaces|All Packages|Serialized Form