| Modifier and Type | Class and Description |
|---|---|
class |
TimeoutStream
A timeout stream is triggered by a timer, the
Handler will be call when the timer is fired,
it can be once or several times depending on the nature of the timer related to this stream. |
| Modifier and Type | Class and Description |
|---|---|
class |
DatagramSocket
A datagram socket can be used to send
DatagramPacket's to remote datagram servers
and receive DatagramPackets . |
| Modifier and Type | Class and Description |
|---|---|
class |
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 | Class and Description |
|---|---|
class |
AsyncFile
Represents a file on the file-system which can be read from, or written to asynchronously.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
WebSocketBase
Base WebSocket implementation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HttpClientRequest
Represents a client-side HTTP request.
|
class |
HttpClientResponse
Represents a client-side HTTP response.
|
class |
HttpServerFileUpload
Represents an file upload from an HTML FORM.
|
class |
HttpServerRequest
Represents a server-side HTTP request.
|
class |
ServerWebSocket
Represents a server side WebSocket.
|
class |
WebSocket
Represents a client-side WebSocket.
|
| Modifier and Type | Method and Description |
|---|---|
ReadStream<HttpServerRequest> |
HttpServer.requestStream()
Return the request stream for the server.
|
ReadStream<ServerWebSocket> |
HttpServer.websocketStream()
Return the websocket stream for the server.
|
ReadStream<WebSocket> |
HttpClient.websocketStream(int port,
String host,
String requestURI)
Deprecated.
|
ReadStream<WebSocket> |
HttpClient.websocketStream(int port,
String host,
String requestURI,
MultiMap headers)
Deprecated.
|
ReadStream<WebSocket> |
HttpClient.websocketStream(int port,
String host,
String requestURI,
MultiMap headers,
io.vertx.core.http.WebsocketVersion version)
Deprecated.
|
ReadStream<WebSocket> |
HttpClient.websocketStream(int port,
String host,
String requestURI,
MultiMap headers,
io.vertx.core.http.WebsocketVersion version,
String subProtocols)
Deprecated.
|
ReadStream<WebSocket> |
HttpClient.websocketStream(io.vertx.core.http.RequestOptions options)
Deprecated.
|
ReadStream<WebSocket> |
HttpClient.websocketStream(io.vertx.core.http.RequestOptions options,
MultiMap headers)
Deprecated.
|
ReadStream<WebSocket> |
HttpClient.websocketStream(io.vertx.core.http.RequestOptions options,
MultiMap headers,
io.vertx.core.http.WebsocketVersion version)
Deprecated.
|
ReadStream<WebSocket> |
HttpClient.websocketStream(io.vertx.core.http.RequestOptions options,
MultiMap headers,
io.vertx.core.http.WebsocketVersion version,
String subProtocols)
Deprecated.
|
ReadStream<WebSocket> |
HttpClient.websocketStream(String requestURI)
Deprecated.
|
ReadStream<WebSocket> |
HttpClient.websocketStream(String requestURI,
MultiMap headers)
Deprecated.
|
ReadStream<WebSocket> |
HttpClient.websocketStream(String requestURI,
MultiMap headers,
io.vertx.core.http.WebsocketVersion version)
Deprecated.
|
ReadStream<WebSocket> |
HttpClient.websocketStream(String requestURI,
MultiMap headers,
io.vertx.core.http.WebsocketVersion version,
String subProtocols)
Deprecated.
|
ReadStream<WebSocket> |
HttpClient.websocketStream(String host,
String requestURI)
Deprecated.
|
ReadStream<WebSocket> |
HttpClient.websocketStream(String host,
String requestURI,
MultiMap headers)
Deprecated.
|
ReadStream<WebSocket> |
HttpClient.websocketStream(String host,
String requestURI,
MultiMap headers,
io.vertx.core.http.WebsocketVersion version)
Deprecated.
|
ReadStream<WebSocket> |
HttpClient.websocketStream(String host,
String requestURI,
MultiMap headers,
io.vertx.core.http.WebsocketVersion version,
String subProtocols)
Deprecated.
|
ReadStream<WebSocket> |
HttpClient.websocketStreamAbs(String url,
MultiMap headers,
io.vertx.core.http.WebsocketVersion version,
String subProtocols)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
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()
Return the connect stream for this server.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JsonParser
A parser class which allows to incrementally parse json elements and emit json parse events instead of parsing a json
element fully.
|
class |
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(java.lang.String, java.util.function.Consumer<io.vertx.axle.core.buffer.Buffer>) but wraps the stream. |
static RecordParser |
RecordParser.newDelimited(String delim,
ReadStream<Buffer> stream)
Like
RecordParser.newDelimited(java.lang.String, java.util.function.Consumer<io.vertx.axle.core.buffer.Buffer>) 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(Consumer<Void> endHandler)
Set an end handler.
|
ReadStream<T> |
ReadStream.exceptionHandler(Consumer<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(Consumer<T> handler)
Set a data handler.
|
static <T> ReadStream<T> |
ReadStream.newInstance(io.vertx.core.streams.ReadStream arg) |
static <T> ReadStream<T> |
ReadStream.newInstance(io.vertx.core.streams.ReadStream arg,
TypeArg<T> __typeArg_T) |
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)
Create a new
Pump with the given ReadStream and WriteStream |
static <T> Pump |
Pump.pump(ReadStream<T> rs,
WriteStream<T> ws,
int writeQueueMaxSize)
Create a new
Pump with the given ReadStream and WriteStream and
writeQueueMaxSize |
Copyright © 2019 SmallRye. All rights reserved.