public class VertxOutputStream
extends org.jboss.resteasy.spi.AsyncOutputStream
| Constructor and Description |
|---|
VertxOutputStream(VertxHttpResponse response,
BufferAllocator allocator)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<Void> |
asyncFlush() |
(package private) CompletionStage<Void> |
asyncUpdateWritten(long len) |
CompletionStage<Void> |
asyncWrite(byte[] b,
int off,
int len) |
void |
close() |
void |
flush() |
(package private) void |
updateWritten(long len) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public VertxOutputStream(VertxHttpResponse response, BufferAllocator allocator)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionvoid updateWritten(long len)
throws IOException
IOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic CompletionStage<Void> asyncFlush()
asyncFlush in class org.jboss.resteasy.spi.AsyncOutputStreampublic CompletionStage<Void> asyncWrite(byte[] b, int off, int len)
asyncWrite in class org.jboss.resteasy.spi.AsyncOutputStreamCompletionStage<Void> asyncUpdateWritten(long len)
Copyright © 2021 JBoss by Red Hat. All rights reserved.