InspectionMiddleware Classe

public class InspectionMiddleware
extends InterceptionMiddleware

Riepilogo dei costruttori

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

Riepilogo dei metodi

Modificatore e tipo Metodo e descrizione
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)

Metodi ereditati da InterceptionMiddleware

Metodi ereditati da 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

Dettagli costruttore

InspectionMiddleware

public InspectionMiddleware(InspectionState withInspectionState)

Parametri:

withInspectionState

InspectionMiddleware

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

Parametri:

withInspectionState
withUserState
withConversationState
withCredentials

Dettagli metodo

createSession

protected InspectionSession createSession(ConversationReference reference, MicrosoftAppCredentials credentials)

Parametri:

reference
credentials

inbound

protected CompletableFuture inbound(TurnContext turnContext, Activity activity)

Override:

InspectionMiddleware.inbound(TurnContext turnContext, Activity activity)

Parametri:

turnContext
activity

outbound

protected CompletableFuture outbound(TurnContext turnContext, List clonedActivities)

Override:

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

Parametri:

turnContext
clonedActivities

processCommand

public CompletableFuture processCommand(TurnContext turnContext)

Parametri:

turnContext

traceState

protected CompletableFuture traceState(TurnContext turnContext)

Override:

InspectionMiddleware.traceState(TurnContext turnContext)

Parametri:

turnContext

Si applica a