public class VertxBlockingOutput extends Object implements VertxOutput
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
drainHandlerRegistered |
protected boolean |
first |
protected io.vertx.core.http.HttpServerRequest |
request |
protected Throwable |
throwable |
protected boolean |
waitingForDrain |
| Constructor and Description |
|---|
VertxBlockingOutput(io.vertx.core.http.HttpServerRequest request) |
| Modifier and Type | Method and Description |
|---|---|
(package private) io.vertx.core.buffer.Buffer |
createBuffer(io.netty.buffer.ByteBuf data) |
void |
terminateResponse() |
void |
write(io.netty.buffer.ByteBuf data,
boolean last) |
CompletionStage<Void> |
writeNonBlocking(io.netty.buffer.ByteBuf data,
boolean last) |
protected boolean waitingForDrain
protected boolean drainHandlerRegistered
protected final io.vertx.core.http.HttpServerRequest request
protected boolean first
protected Throwable throwable
public VertxBlockingOutput(io.vertx.core.http.HttpServerRequest request)
public void terminateResponse()
io.vertx.core.buffer.Buffer createBuffer(io.netty.buffer.ByteBuf data)
public void write(io.netty.buffer.ByteBuf data,
boolean last)
throws IOException
write in interface VertxOutputIOExceptionpublic CompletionStage<Void> writeNonBlocking(io.netty.buffer.ByteBuf data, boolean last)
writeNonBlocking in interface VertxOutputCopyright © 2020 JBoss by Red Hat. All rights reserved.