Package | Description |
---|---|
io.vertx.core.parsetools | |
io.vertx.reactivex.core.parsetools | |
io.vertx.rxjava.core.parsetools |
Modifier and Type | Method and Description |
---|---|
RecordParser |
RecordParser.endHandler(Handler<Void> endHandler) |
RecordParser |
RecordParser.exceptionHandler(Handler<Throwable> handler) |
RecordParser |
RecordParser.fetch(long amount) |
RecordParser |
RecordParser.handler(Handler<Buffer> handler) |
RecordParser |
RecordParser.maxRecordSize(int size)
Set the maximum allowed size for a record when using the delimited mode.
|
static RecordParser |
RecordParser.newDelimited(Buffer delim)
Create a new
RecordParser instance, initially in delimited mode, and where the delimiter can be represented
by the Buffer delim. |
static RecordParser |
RecordParser.newDelimited(Buffer delim,
Handler<Buffer> output)
Like
newDelimited(Buffer) but set the output that will receive whole records
which have been parsed. |
static RecordParser |
RecordParser.newDelimited(Buffer delim,
ReadStream<Buffer> stream)
Like
newDelimited(Buffer) but wraps the stream . |
static RecordParser |
RecordParser.newDelimited(String delim)
Create a new
RecordParser instance, initially in delimited mode, and where the delimiter can be represented
by the String delim endcoded in latin-1 . |
static RecordParser |
RecordParser.newDelimited(String delim,
Handler<Buffer> output)
Like
newDelimited(String) but set the output that will receive whole records
which have been parsed. |
static RecordParser |
RecordParser.newDelimited(String delim,
ReadStream<Buffer> stream)
Like
newDelimited(String) but wraps the stream . |
static RecordParser |
RecordParser.newFixed(int size)
Create a new
RecordParser instance, initially in fixed size mode, and where the record size is specified
by the size parameter. |
static RecordParser |
RecordParser.newFixed(int size,
Handler<Buffer> output)
Like
newFixed(int) but set the output that will receive whole records
which have been parsed. |
static RecordParser |
RecordParser.newFixed(int size,
ReadStream<Buffer> stream)
Like
newFixed(int) but wraps the stream . |
RecordParser |
RecordParser.pause() |
RecordParser |
RecordParser.resume() |
Modifier and Type | Method and Description |
---|---|
RecordParser |
RecordParser.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static RecordParser |
RecordParser.newInstance(RecordParser arg) |
Constructor and Description |
---|
RecordParser(RecordParser delegate) |
Modifier and Type | Method and Description |
---|---|
RecordParser |
RecordParser.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static RecordParser |
RecordParser.newInstance(RecordParser arg) |
Constructor and Description |
---|
RecordParser(RecordParser delegate) |
Copyright © 2023 Eclipse. All rights reserved.