| Constructor and Description |
|---|
StreamingBodyCodec(WriteStream<Buffer> stream) |
StreamingBodyCodec(WriteStream<Buffer> stream,
boolean close) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(Handler<AsyncResult<BodyStream<Void>>> handler)
Create the
BodyStream. |
public StreamingBodyCodec(WriteStream<Buffer> stream)
public StreamingBodyCodec(WriteStream<Buffer> stream, boolean close)
public void create(Handler<AsyncResult<BodyStream<Void>>> handler)
BodyCodecBodyStream.
This method is usually called for creating the pump for the HTTP response and should not be called directly.
Copyright © 2020. All rights reserved.