类 ServletServerHttpResponse.ResponseBodyFlushProcessor
java.lang.Object
cn.taketoday.http.server.reactive.AbstractListenerWriteFlushProcessor<cn.taketoday.core.io.buffer.DataBuffer>
cn.taketoday.http.server.reactive.ServletServerHttpResponse.ResponseBodyFlushProcessor
- 所有已实现的接口:
org.reactivestreams.Processor<org.reactivestreams.Publisher<? extends cn.taketoday.core.io.buffer.DataBuffer>,,Void> org.reactivestreams.Publisher<Void>,org.reactivestreams.Subscriber<org.reactivestreams.Publisher<? extends cn.taketoday.core.io.buffer.DataBuffer>>
private class ServletServerHttpResponse.ResponseBodyFlushProcessor
extends AbstractListenerWriteFlushProcessor<cn.taketoday.core.io.buffer.DataBuffer>
-
字段概要
从类继承的字段 cn.taketoday.http.server.reactive.AbstractListenerWriteFlushProcessor
rsWriteFlushLogger -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected org.reactivestreams.Processor<? super cn.taketoday.core.io.buffer.DataBuffer,Void> Create a new processor for the current flush boundary.protected voidflush()Flush the output if ready, or otherwiseAbstractListenerWriteFlushProcessor.isFlushPending()should return true after.protected booleanWhether flushing is pending.protected booleanWhether writing/flushing is possible.从类继承的方法 cn.taketoday.http.server.reactive.AbstractListenerWriteFlushProcessor
cancel, flushingFailed, getLogPrefix, onComplete, onError, onFlushPossible, onNext, onSubscribe, subscribe
-
构造器详细资料
-
ResponseBodyFlushProcessor
public ResponseBodyFlushProcessor()
-
-
方法详细资料
-
createWriteProcessor
protected org.reactivestreams.Processor<? super cn.taketoday.core.io.buffer.DataBuffer,Void> createWriteProcessor()从类复制的说明:AbstractListenerWriteFlushProcessorCreate a new processor for the current flush boundary.- 指定者:
createWriteProcessor在类中AbstractListenerWriteFlushProcessor<cn.taketoday.core.io.buffer.DataBuffer>
-
flush
从类复制的说明:AbstractListenerWriteFlushProcessorFlush the output if ready, or otherwiseAbstractListenerWriteFlushProcessor.isFlushPending()should return true after.This is primarily for the Servlet non-blocking I/O API where flush cannot be called without a readyToWrite check.
- 指定者:
flush在类中AbstractListenerWriteFlushProcessor<cn.taketoday.core.io.buffer.DataBuffer>- 抛出:
IOException
-
isWritePossible
protected boolean isWritePossible()从类复制的说明:AbstractListenerWriteFlushProcessorWhether writing/flushing is possible.- 指定者:
isWritePossible在类中AbstractListenerWriteFlushProcessor<cn.taketoday.core.io.buffer.DataBuffer>
-
isFlushPending
protected boolean isFlushPending()从类复制的说明:AbstractListenerWriteFlushProcessorWhether flushing is pending.This is primarily for the Servlet non-blocking I/O API where flush cannot be called without a readyToWrite check.
- 指定者:
isFlushPending在类中AbstractListenerWriteFlushProcessor<cn.taketoday.core.io.buffer.DataBuffer>
-