Class VertxBlockingOutput
- java.lang.Object
-
- io.quarkus.resteasy.runtime.standalone.VertxBlockingOutput
-
- All Implemented Interfaces:
VertxOutput
public class VertxBlockingOutput extends Object implements VertxOutput
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
drainHandlerRegistered
protected boolean
first
protected io.vertx.core.http.HttpServerRequest
request
protected Throwable
throwable
protected boolean
waitingForDrain
-
Constructor Summary
Constructors Constructor Description VertxBlockingOutput(io.vertx.core.http.HttpServerRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
waitingForDrain
protected boolean waitingForDrain
-
drainHandlerRegistered
protected boolean drainHandlerRegistered
-
request
protected final io.vertx.core.http.HttpServerRequest request
-
first
protected boolean first
-
throwable
protected Throwable throwable
-
-
Method Detail
-
terminateResponse
public void terminateResponse()
-
createBuffer
io.vertx.core.buffer.Buffer createBuffer(io.netty.buffer.ByteBuf data)
-
write
public void write(io.netty.buffer.ByteBuf data, boolean last) throws IOException
- Specified by:
write
in interfaceVertxOutput
- Throws:
IOException
-
writeNonBlocking
public CompletionStage<Void> writeNonBlocking(io.netty.buffer.ByteBuf data, boolean last)
- Specified by:
writeNonBlocking
in interfaceVertxOutput
-
-