BotFrameworkHttpAdapter Clase

public class BotFrameworkHttpAdapter
extends BotFrameworkAdapter

BotFrameworkAdapter que recibe actividades entrantes a través de HTTP.

Resumen del constructor

Constructor Description
BotFrameworkHttpAdapter(CredentialProvider withCredentialProvider, ChannelProvider withChannelProvider)

Construye con proveedor de credencialesy proveedor de canal.

BotFrameworkHttpAdapter(Configuration withConfiguration)

Construir con una configuración.

BotFrameworkHttpAdapter(Configuration withConfiguration, AuthenticationConfiguration withAuthenticationConfiguration)

Construir con una configuración.

Resumen del método

Modificador y tipo Método y descripción
java.util.concurrent.CompletableFuture<InvokeResponse> processIncomingActivity(String authHeader, Activity activity, Bot bot)

Procesa una actividad entrante.

Métodos heredados de BotAdapter

Métodos heredados de BotFrameworkAdapter

Métodos heredados de java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Detalles del constructor

BotFrameworkHttpAdapter

public BotFrameworkHttpAdapter(CredentialProvider withCredentialProvider, ChannelProvider withChannelProvider)

Construye con CredentialProvider y ChannelProvider.

Parámetros:

withCredentialProvider - CredentialProvider que se va a usar.
withChannelProvider - ChannelProvider que se va a usar.

BotFrameworkHttpAdapter

public BotFrameworkHttpAdapter(Configuration withConfiguration)

Construir con una configuración. Esto creará un CredentialProvider y ChannelProvider en función de los valores de configuración.

Parámetros:

withConfiguration - Configuración que se va a usar.

BotFrameworkHttpAdapter

public BotFrameworkHttpAdapter(Configuration withConfiguration, AuthenticationConfiguration withAuthenticationConfiguration)

Construir con una configuración. Esto creará un CredentialProvider y ChannelProvider en función de los valores de configuración.

Parámetros:

withConfiguration - Configuración que se va a usar.
withAuthenticationConfiguration - AuthenticationConfiguration que se va a usar.

Detalles del método

processIncomingActivity

public CompletableFuture processIncomingActivity(String authHeader, Activity activity, Bot bot)

Procesa una actividad entrante.

Parámetros:

authHeader - Encabezado Authorization de la solicitud http.
activity - Actividad recibida.
bot - Un bot.

Devoluciones:

A CompletableFuture.

Se aplica a