| Package | Description |
|---|---|
| io.vertx.core | |
| io.vertx.core.datagram | |
| io.vertx.core.eventbus | |
| io.vertx.core.file | |
| io.vertx.core.http | |
| io.vertx.core.net | |
| io.vertx.core.parsetools | |
| io.vertx.core.streams |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TimeoutStream
Deprecated.
use
Vertx.setTimer(long, io.vertx.core.Handler<java.lang.Long>)/Vertx.setPeriodic(long, io.vertx.core.Handler<java.lang.Long>) instead. RxJava like integrations should use the Vert.x scheduler integration. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DatagramSocket
A datagram socket can be used to send
DatagramPacket's to remote datagram servers
and receive DatagramPackets . |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MessageConsumer<T>
An event bus consumer object representing a stream of message to an
EventBus address that can
be read from. |
| Modifier and Type | Method and Description |
|---|---|
ReadStream<T> |
MessageConsumer.bodyStream() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AsyncFile
Represents a file on the file-system which can be read from, or written to asynchronously.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ClientWebSocket
Represents a client-side WebSocket initially not connected.
|
interface |
HttpClientResponse
Represents a client-side HTTP response.
|
interface |
HttpServerFileUpload
Represents an file upload from an HTML FORM.
|
interface |
HttpServerRequest
Represents a server-side HTTP request.
|
interface |
ServerWebSocket
Represents a server side WebSocket.
|
interface |
WebSocket
Represents a client-side WebSocket.
|
interface |
WebSocketBase
Base WebSocket implementation.
|
| Modifier and Type | Method and Description |
|---|---|
ReadStream<HttpServerRequest> |
HttpServer.requestStream()
Deprecated.
instead use
HttpServer.requestHandler(Handler) |
ReadStream<ServerWebSocket> |
HttpServer.webSocketStream()
Deprecated.
instead use
HttpServer.webSocketHandler(Handler) |
| Modifier and Type | Method and Description |
|---|---|
default Future<Void> |
HttpServerResponse.send(ReadStream<Buffer> body)
Like
HttpServerResponse.send(ReadStream, Handler) but returns a Future of the asynchronous result |
default Future<HttpClientResponse> |
HttpClientRequest.send(ReadStream<Buffer> body)
Like
HttpClientRequest.send(ReadStream, Handler) but returns a Future of the asynchronous result |
default void |
HttpClientRequest.send(ReadStream<Buffer> body,
Handler<AsyncResult<HttpClientResponse>> handler)
Send the request with a stream
body. |
default void |
HttpServerResponse.send(ReadStream<Buffer> body,
Handler<AsyncResult<Void>> handler)
Send the request with a stream
body. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
NetSocket
Represents a socket-like interface to a TCP connection on either the
client or the server side.
|
| Modifier and Type | Method and Description |
|---|---|
ReadStream<NetSocket> |
NetServer.connectStream()
Deprecated.
instead use
NetServer.connectHandler(Handler) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
JsonParser
A parser class which allows to incrementally parse json elements and emit json parse events instead of parsing a json
element fully.
|
interface |
RecordParser
A helper class which allows you to easily parse protocols which are delimited by a sequence of bytes, or fixed
size records.
|
| Modifier and Type | Method and Description |
|---|---|
static RecordParser |
RecordParser.newDelimited(Buffer delim,
ReadStream<Buffer> stream)
Like
RecordParser.newDelimited(Buffer) but wraps the stream. |
static RecordParser |
RecordParser.newDelimited(String delim,
ReadStream<Buffer> stream)
Like
RecordParser.newDelimited(String) but wraps the stream. |
static RecordParser |
RecordParser.newFixed(int size,
ReadStream<Buffer> stream)
Like
RecordParser.newFixed(int) but wraps the stream. |
static JsonParser |
JsonParser.newParser(ReadStream<Buffer> stream)
Create a new
JsonParser instance. |
| Modifier and Type | Method and Description |
|---|---|
ReadStream<T> |
ReadStream.endHandler(Handler<Void> endHandler)
Set an end handler.
|
ReadStream<T> |
ReadStream.exceptionHandler(Handler<Throwable> handler)
Set an exception handler on the read stream.
|
ReadStream<T> |
ReadStream.fetch(long amount)
Fetch the specified
amount of elements. |
ReadStream<T> |
ReadStream.handler(Handler<T> handler)
Set a data handler.
|
ReadStream<T> |
ReadStream.pause()
Pause the
ReadStream, it sets the buffer in fetch mode and clears the actual demand. |
ReadStream<T> |
ReadStream.resume()
Resume reading, and sets the buffer in
flowing mode. |
| Modifier and Type | Method and Description |
|---|---|
static <T> Pump |
Pump.pump(ReadStream<T> rs,
WriteStream<T> ws)
Deprecated.
Create a new
Pump with the given ReadStream and WriteStream |
static <T> Pump |
Pump.pump(ReadStream<T> rs,
WriteStream<T> ws,
int writeQueueMaxSize)
Deprecated.
Create a new
Pump with the given ReadStream and WriteStream and
writeQueueMaxSize |
Copyright © 2023 Eclipse. All rights reserved.