InspectionMiddleware Classe

public class InspectionMiddleware
extends InterceptionMiddleware

Resumo do Construtor

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

Resumo do método

Modificador e tipo Método e descrição
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 herdados de InterceptionMiddleware

Métodos herdados 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

Detalhes do construtor

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

Detalhes do método

createSession

protected InspectionSession createSession(ConversationReference reference, MicrosoftAppCredentials credentials)

Parâmetros:

reference
credentials

inbound

protected CompletableFuture inbound(TurnContext turnContext, Activity activity)

Substituições:

InspectionMiddleware.inbound(TurnContext turnContext, Activity activity)

Parâmetros:

turnContext
activity

outbound

protected CompletableFuture outbound(TurnContext turnContext, List clonedActivities)

Substituições:

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)

Substituições:

InspectionMiddleware.traceState(TurnContext turnContext)

Parâmetros:

turnContext

Aplica-se a