类 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.ResponseBodyEmitter
private StringBuilder
private Flow.Subscription
private String
-
构造器概要
构造器构造器说明ResultSender
(org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter emitter) -
方法概要
修饰符和类型方法说明void
void
void
onNext
(List<ByteBuffer> item) void
onSubscribe
(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>>
-