Class VertxInputStream.VertxBlockingInput
java.lang.Object
org.jboss.resteasy.reactive.server.vertx.VertxInputStream.VertxBlockingInput
- All Implemented Interfaces:
io.vertx.core.Handler<io.vertx.core.buffer.Buffer>
- Enclosing class:
VertxInputStream
public static class VertxInputStream.VertxBlockingInput
extends Object
implements io.vertx.core.Handler<io.vertx.core.buffer.Buffer>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected final Deque
<io.vertx.core.buffer.Buffer> protected IOException
protected final io.vertx.core.http.HttpServerRequest
-
Constructor Summary
ConstructorsConstructorDescriptionVertxBlockingInput
(io.vertx.core.http.HttpServerRequest request, long timeout) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(io.vertx.core.buffer.Buffer event) protected io.netty.buffer.ByteBuf
int
-
Field Details
-
request
protected final io.vertx.core.http.HttpServerRequest request -
inputOverflow
-
endOfWrite
protected boolean endOfWrite -
readException
-
-
Constructor Details
-
VertxBlockingInput
public VertxBlockingInput(io.vertx.core.http.HttpServerRequest request, long timeout)
-
-
Method Details
-
readBlocking
- Throws:
IOException
-
handle
public void handle(io.vertx.core.buffer.Buffer event) - Specified by:
handle
in interfaceio.vertx.core.Handler<io.vertx.core.buffer.Buffer>
-
readBytesAvailable
public int readBytesAvailable()
-