| Package | Description |
|---|---|
| com.hubspot.slack.client |
| Modifier and Type | Method and Description |
|---|---|
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.Builder.build()
Builds a new
SlackClientRuntimeConfig. |
static SlackClientRuntimeConfig |
SlackClientRuntimeConfig.copyOf(SlackClientRuntimeConfigIF instance)
Creates an immutable copy of a
SlackClientRuntimeConfigIF value. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withChannelsHistoryMessageBatchSize(Supplier<Integer> channelsHistoryMessageBatchSize)
Copy the current immutable object by setting a value for the
channelsHistoryMessageBatchSize attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withChannelsListBatchSize(Supplier<Integer> channelsListBatchSize)
Copy the current immutable object by setting a value for the
channelsListBatchSize attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withConversationMembersBatchSize(Supplier<Integer> conversationMembersBatchSize)
Copy the current immutable object by setting a value for the
conversationMembersBatchSize attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withConversationsHistoryMessageBatchSize(Supplier<Integer> conversationsHistoryMessageBatchSize)
Copy the current immutable object by setting a value for the
conversationsHistoryMessageBatchSize attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withHttpClient(NioHttpClient value)
Copy the current immutable object by setting a present value for the optional
httpClient attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withHttpClient(Optional<NioHttpClient> optional)
Copy the current immutable object by setting an optional value for the
httpClient attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withHttpConfig(com.hubspot.horizon.HttpConfig value)
Copy the current immutable object by setting a present value for the optional
httpConfig attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withHttpConfig(Optional<com.hubspot.horizon.HttpConfig> optional)
Copy the current immutable object by setting an optional value for the
httpConfig attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withMethodFilter(Optional<SlackMethodAcceptor> optional)
Copy the current immutable object by setting an optional value for the
methodFilter attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withMethodFilter(SlackMethodAcceptor value)
Copy the current immutable object by setting a present value for the optional
methodFilter attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withRequestDebugger(Optional<RequestDebugger> optional)
Copy the current immutable object by setting an optional value for the
requestDebugger attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withRequestDebugger(RequestDebugger value)
Copy the current immutable object by setting a present value for the optional
requestDebugger attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withResponseDebugger(Optional<ResponseDebugger> optional)
Copy the current immutable object by setting an optional value for the
responseDebugger attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withResponseDebugger(ResponseDebugger value)
Copy the current immutable object by setting a present value for the optional
responseDebugger attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withSlackApiBasePath(Supplier<String> slackApiBasePath)
Copy the current immutable object by setting a value for the
slackApiBasePath attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withSlackRateLimiter(Optional<SlackRateLimiter> optional)
Copy the current immutable object by setting an optional value for the
slackRateLimiter attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withSlackRateLimiter(SlackRateLimiter value)
Copy the current immutable object by setting a present value for the optional
slackRateLimiter attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withTokenSupplier(Supplier<String> tokenSupplier)
Copy the current immutable object by setting a value for the
tokenSupplier attribute. |
SlackClientRuntimeConfig |
SlackClientRuntimeConfig.withUsersListBatchSize(Supplier<Integer> usersListBatchSize)
Copy the current immutable object by setting a value for the
usersListBatchSize attribute. |
| Modifier and Type | Method and Description |
|---|---|
SlackWebClient |
SlackClientFactory.DefaultSlackClientFactory.build(SlackClientRuntimeConfig config)
Deprecated.
|
SlackWebClient |
SlackWebClient.Factory.build(SlackClientRuntimeConfig config) |
SlackClient |
SlackClientFactory.create(NioHttpClientFactory httpClientFactory,
SlackClientRuntimeConfig config) |
SlackClient |
SlackClientFactory.DefaultSlackClientFactory.create(NioHttpClientFactory httpClientFactory,
SlackClientRuntimeConfig config) |
SlackClient |
SlackClientFactory.create(SlackClientRuntimeConfig config) |
SlackClient |
SlackClientFactory.DefaultSlackClientFactory.create(SlackClientRuntimeConfig config) |
| Constructor and Description |
|---|
SlackWebClient(DefaultHttpRequestDebugger defaultHttpRequestDebugger,
DefaultHttpResponseDebugger defaultHttpResponseDebugger,
NioHttpClient.Factory nioHttpClientFactory,
ByMethodRateLimiter defaultRateLimiter,
SlackClientRuntimeConfig config) |
Copyright © 2020. All rights reserved.