다음을 통해 공유


InspectionMiddleware 클래스

public class InspectionMiddleware
extends InterceptionMiddleware

생성자 요약

생성자 Description
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

적용 대상