InterceptionMiddleware 类
- java.lang.Object
- com.microsoft.bot.builder.inspection.InterceptionMiddleware
实现
public abstract class InterceptionMiddleware
implements Middleware
构造函数摘要
构造函数 | 说明 | |
---|---|---|
InterceptionMiddleware(Logger withLogger) |
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
protected org.slf4j.Logger | getLogger() |
protected abstract
java.util.concurrent.CompletableFuture<com.microsoft.bot.builder.inspection.InterceptionMiddleware.Intercept> |
inbound(TurnContext turnContext, Activity activity) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
onTurn(TurnContext turnContext, NextDelegate next)
处理传入活动。 |
protected abstract
java.util.concurrent.CompletableFuture<java.lang.Void> |
outbound(TurnContext turnContext, List<Activity> clonedActivities) |
protected abstract
java.util.concurrent.CompletableFuture<java.lang.Void> |
traceState(TurnContext turnContext) |
方法继承自 java.lang.Object
构造函数详细信息
InterceptionMiddleware
public InterceptionMiddleware(Logger withLogger)
Parameters:
方法详细信息
getLogger
protected Logger getLogger()
inbound
protected abstract CompletableFuture
Parameters:
onTurn
public CompletableFuture
处理传入活动。
Parameters:
outbound
protected abstract CompletableFuture
Parameters:
traceState
protected abstract CompletableFuture
Parameters: