类 SimpleAiAdminController.ResultSender
java.lang.Object
com.publiccms.controller.admin.sys.SimpleAiAdminController.ResultSender
- 所有已实现的接口:
Flow.Subscriber<List<ByteBuffer>>
class SimpleAiAdminController.ResultSender
extends Object
implements Flow.Subscriber<List<ByteBuffer>>
-
字段概要
字段修饰符和类型字段说明private org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitterprivate StringBuilderprivate Flow.Subscriptionprivate String -
构造器概要
构造器构造器说明ResultSender(org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter emitter) -
方法概要
修饰符和类型方法说明voidvoidvoidonNext(List<ByteBuffer> item) voidonSubscribe(Flow.Subscription subscription)
-
字段详细资料
-
emitter
private org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter emitter -
subscription
-
result
-
tempCache
-
-
构造器详细资料
-
ResultSender
public ResultSender(org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter emitter)
-
-
方法详细资料
-
getResult
-
onSubscribe
- 指定者:
onSubscribe在接口中Flow.Subscriber<List<ByteBuffer>>
-
onNext
- 指定者:
onNext在接口中Flow.Subscriber<List<ByteBuffer>>
-
onError
- 指定者:
onError在接口中Flow.Subscriber<List<ByteBuffer>>
-
onComplete
public void onComplete()- 指定者:
onComplete在接口中Flow.Subscriber<List<ByteBuffer>>
-