Package io.quarkus.vertx.http.runtime
Class VertxInputStream
- java.lang.Object
-
- java.io.InputStream
-
- io.quarkus.vertx.http.runtime.VertxInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class VertxInputStream extends InputStream
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
VertxInputStream.ContinueState
static class
VertxInputStream.VertxBlockingInput
-
Constructor Summary
Constructors Constructor Description VertxInputStream(io.vertx.ext.web.RoutingContext request, long timeout)
VertxInputStream(io.vertx.ext.web.RoutingContext request, long timeout, io.netty.buffer.ByteBuf existing)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
available()
void
close()
int
read()
int
read(byte[] b)
int
read(byte[] b, int off, int len)
-
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Field Detail
-
CONTINUE
public static final String CONTINUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
read
public int read() throws IOException
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
public int read(byte[] b) throws IOException
- Overrides:
read
in classInputStream
- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException
- Overrides:
read
in classInputStream
- Throws:
IOException
-
available
public int available() throws IOException
- Overrides:
available
in classInputStream
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-
-