InspectionMiddleware クラス

public class InspectionMiddleware
extends InterceptionMiddleware

コンストラクターの概要

コンストラクター 説明
InspectionMiddleware(InspectionState withInspectionState)
InspectionMiddleware(InspectionState withInspectionState, UserState withUserState, ConversationState withConversationState, MicrosoftAppCredentials withCredentials)

メソッドの概要

修飾子と型 メソッドと説明
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)

メソッドの継承元: InterceptionMiddleware

メソッドの継承元: 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

コンストラクターの詳細

InspectionMiddleware

public InspectionMiddleware(InspectionState withInspectionState)

パラメーター:

withInspectionState

InspectionMiddleware

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

パラメーター:

withInspectionState
withUserState
withConversationState
withCredentials

メソッドの詳細

createSession

protected InspectionSession createSession(ConversationReference reference, MicrosoftAppCredentials credentials)

パラメーター:

reference
credentials

inbound

protected CompletableFuture inbound(TurnContext turnContext, Activity activity)

上書き:

InspectionMiddleware.inbound(TurnContext turnContext, Activity activity)

パラメーター:

turnContext
activity

outbound

protected CompletableFuture outbound(TurnContext turnContext, List clonedActivities)

上書き:

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

パラメーター:

turnContext
clonedActivities

processCommand

public CompletableFuture processCommand(TurnContext turnContext)

パラメーター:

turnContext

traceState

protected CompletableFuture traceState(TurnContext turnContext)

上書き:

InspectionMiddleware.traceState(TurnContext turnContext)

パラメーター:

turnContext

適用対象