类 PartGenerator.StreamingState
java.lang.Object
cn.taketoday.http.codec.multipart.PartGenerator.State
cn.taketoday.http.codec.multipart.PartGenerator.StreamingState
- 封闭类:
- PartGenerator
The creator state when
PartGenerator.streaming is true (and not
handling a form field). Relays all received buffers to a sink.-
字段概要
字段修饰符和类型字段说明private final reactor.core.publisher.FluxSink<cn.taketoday.core.io.buffer.DataBuffer> -
构造器概要
构造器构造器说明StreamingState(reactor.core.publisher.FluxSink<cn.taketoday.core.io.buffer.DataBuffer> bodySink) -
方法概要
修饰符和类型方法说明voidapplyBody(cn.taketoday.core.io.buffer.DataBuffer dataBuffer) Invoked when aMultipartParser.BodyTokenis received.voidInvoked when an error has been received.voidInvoked when all tokens for the part have been received.toString()从类继承的方法 cn.taketoday.http.codec.multipart.PartGenerator.State
dispose
-
字段详细资料
-
bodySink
private final reactor.core.publisher.FluxSink<cn.taketoday.core.io.buffer.DataBuffer> bodySink
-
-
构造器详细资料
-
StreamingState
public StreamingState(reactor.core.publisher.FluxSink<cn.taketoday.core.io.buffer.DataBuffer> bodySink)
-
-
方法详细资料
-
applyBody
public void applyBody(cn.taketoday.core.io.buffer.DataBuffer dataBuffer) 从类复制的说明:PartGenerator.StateInvoked when aMultipartParser.BodyTokenis received.- 指定者:
applyBody在类中PartGenerator.State
-
onComplete
public void onComplete()从类复制的说明:PartGenerator.StateInvoked when all tokens for the part have been received.- 覆盖:
onComplete在类中PartGenerator.State
-
error
从类复制的说明:PartGenerator.StateInvoked when an error has been received.- 覆盖:
error在类中PartGenerator.State
-
toString
-