| Package | Description | 
|---|---|
| io.vertx.rxjava.core.file | |
| io.vertx.rxjava.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()
Flush any writes made to this file to underlying persistent storage. 
 | 
AsyncFile | 
AsyncFile.flush(Handler<AsyncResult<Void>> handler)
Same as  
flush() 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,
    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)  | 
AsyncFile | 
AsyncFile.write(Buffer data)  | 
AsyncFile | 
AsyncFile.write(Buffer data,
     Handler<AsyncResult<Void>> handler)
Same as  
write(io.vertx.rxjava.core.buffer.Buffer) but with an handler called when the operation completes | 
AsyncFile | 
AsyncFile.write(Buffer buffer,
     long position,
     Handler<AsyncResult<Void>> handler)
Write a  
Buffer to the file at position position in the file, asynchronously. | 
| Modifier and Type | Method and Description | 
|---|---|
Observable<AsyncFile> | 
FileSystem.openObservable(String path,
              OpenOptions options)
Deprecated. 
 
 | 
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 © 2020 Eclipse. All rights reserved.