InspectionMiddleware Clase

public class InspectionMiddleware
extends InterceptionMiddleware

Resumen del constructor

Constructor Description
InspectionMiddleware(InspectionState withInspectionState)
InspectionMiddleware(InspectionState withInspectionState, UserState withUserState, ConversationState withConversationState, MicrosoftAppCredentials withCredentials)

Resumen del método

Modificador y tipo Método y descripción
protected InspectionSession createSession(ConversationReference reference, MicrosoftAppCredentials credentials)
protected java.util.concurrent.CompletableFuture<com.microsoft.bot.builder.inspection.InterceptionMiddleware.Intercept> inbound(TurnContext turnContext, Activity activity)
protected java.util.concurrent.CompletableFuture<java.lang.Void> outbound(TurnContext turnContext, List<Activity> clonedActivities)
java.util.concurrent.CompletableFuture<java.lang.Boolean> processCommand(TurnContext turnContext)
protected java.util.concurrent.CompletableFuture<java.lang.Void> traceState(TurnContext turnContext)

Métodos heredados de InterceptionMiddleware

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

InspectionMiddleware

public InspectionMiddleware(InspectionState withInspectionState)

Parámetros:

withInspectionState

InspectionMiddleware

public InspectionMiddleware(InspectionState withInspectionState, UserState withUserState, ConversationState withConversationState, MicrosoftAppCredentials withCredentials)

Parámetros:

withInspectionState
withUserState
withConversationState
withCredentials

Detalles del método

createSession

protected InspectionSession createSession(ConversationReference reference, MicrosoftAppCredentials credentials)

Parámetros:

reference
credentials

inbound

protected CompletableFuture inbound(TurnContext turnContext, Activity activity)

Invalidaciones:

InspectionMiddleware.inbound(TurnContext turnContext, Activity activity)

Parámetros:

turnContext
activity

outbound

protected CompletableFuture outbound(TurnContext turnContext, List clonedActivities)

Invalidaciones:

InspectionMiddleware.outbound(TurnContext turnContext, List<Activity> clonedActivities)

Parámetros:

turnContext
clonedActivities

processCommand

public CompletableFuture processCommand(TurnContext turnContext)

Parámetros:

turnContext

traceState

protected CompletableFuture traceState(TurnContext turnContext)

Invalidaciones:

InspectionMiddleware.traceState(TurnContext turnContext)

Parámetros:

turnContext

Se aplica a