Package | Description |
---|---|
io.vertx.reactivex.core.file | |
io.vertx.reactivex.core.http |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<AsyncFile> |
AsyncFile.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
AsyncFile |
AsyncFile.drainHandler(Handler<Void> handler) |
AsyncFile |
AsyncFile.endHandler(Handler<Void> endHandler) |
AsyncFile |
AsyncFile.exceptionHandler(Handler<Throwable> handler) |
AsyncFile |
AsyncFile.fetch(long amount) |
AsyncFile |
AsyncFile.flush()
Same as
flush(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>) but the handler will be called when the flush is complete or if an error occurs |
AsyncFile |
AsyncFile.flush(Handler<AsyncResult<Void>> handler)
Same as
flush(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>) but the handler will be called when the flush is complete or if an error occurs |
AsyncFile |
AsyncFile.handler(Handler<Buffer> handler) |
static AsyncFile |
AsyncFile.newInstance(AsyncFile arg) |
AsyncFile |
FileSystem.openBlocking(String path,
OpenOptions options)
|
AsyncFile |
AsyncFile.pause() |
AsyncFile |
AsyncFile.read(Buffer buffer,
int offset,
long position,
int length)
Reads
length bytes of data from the file at position position in the file, asynchronously. |
AsyncFile |
AsyncFile.read(Buffer buffer,
int offset,
long position,
int length,
Handler<AsyncResult<Buffer>> handler)
Reads
length bytes of data from the file at position position in the file, asynchronously. |
AsyncFile |
AsyncFile.resume() |
AsyncFile |
AsyncFile.setReadBufferSize(int readBufferSize)
Sets the buffer size that will be used to read the data from the file.
|
AsyncFile |
AsyncFile.setReadLength(long readLength)
Sets the number of bytes that will be read when using the file as a
ReadStream . |
AsyncFile |
AsyncFile.setReadPos(long readPos)
Sets the position from which data will be read from when using the file as a
ReadStream . |
AsyncFile |
AsyncFile.setWritePos(long writePos)
Sets the position from which data will be written when using the file as a
WriteStream . |
AsyncFile |
AsyncFile.setWriteQueueMaxSize(int maxSize) |
Modifier and Type | Method and Description |
---|---|
Single<AsyncFile> |
FileSystem.rxOpen(String path,
OpenOptions options)
Open the file represented by
path , asynchronously. |
Modifier and Type | Method and Description |
---|---|
FileSystem |
FileSystem.open(String path,
OpenOptions options,
Handler<AsyncResult<AsyncFile>> handler)
Open the file represented by
path , asynchronously. |
Modifier and Type | Method and Description |
---|---|
AsyncFile |
HttpServerFileUpload.file() |
Copyright © 2024 Eclipse. All rights reserved.