BotFrameworkHttpAdapter Classe
- java.
lang. Object - com.
microsoft. bot. builder. BotAdapter - com.
microsoft. bot. builder. BotFrameworkAdapter - com.
microsoft. bot. integration. BotFrameworkHttpAdapter
- com.
- com.
- com.
public class BotFrameworkHttpAdapter
extends BotFrameworkAdapter
BotFrameworkAdapter qui reçoit des activités entrantes via HTTP.
Récapitulatif du constructeur
| Constructeur | Description |
|---|---|
| BotFrameworkHttpAdapter(CredentialProvider withCredentialProvider, ChannelProvider withChannelProvider) |
Construit avec le fournisseur d’informations d’identification |
| BotFrameworkHttpAdapter(Configuration withConfiguration) |
Construire avec une configuration. |
| BotFrameworkHttpAdapter(Configuration withConfiguration, AuthenticationConfiguration withAuthenticationConfiguration) |
Construire avec une configuration. |
Résumé de la méthode
| Modificateur et type | Méthode et description |
|---|---|
|
java.util.concurrent.CompletableFuture<Invoke |
processIncomingActivity(String authHeader, Activity activity, Bot bot)
Traite une activité entrante. |
Méthodes héritées de BotAdapter
Méthodes héritées de BotFrameworkAdapter
Méthodes héritées de java.lang.Object
Détails du constructeur
BotFrameworkHttpAdapter
public BotFrameworkHttpAdapter(CredentialProvider withCredentialProvider, ChannelProvider withChannelProvider)
Construit avec CredentialProvider et ChannelProvider.
Paramètres:
BotFrameworkHttpAdapter
public BotFrameworkHttpAdapter(Configuration withConfiguration)
Construire avec une configuration. Cela crée un CredentialProvider et ChannelProvider en fonction des valeurs de configuration.
Paramètres:
BotFrameworkHttpAdapter
public BotFrameworkHttpAdapter(Configuration withConfiguration, AuthenticationConfiguration withAuthenticationConfiguration)
Construire avec une configuration. Cela crée un CredentialProvider et ChannelProvider en fonction des valeurs de configuration.
Paramètres:
Détails de la méthode
processIncomingActivity
public CompletableFuture
Traite une activité entrante.
Paramètres:
Retours: