| Modifier and Type | Method and Description |
|---|---|
Buffer |
Buffer.appendBuffer(Buffer buff)
Appends the specified
Buffer to the end of this Buffer. |
Buffer |
Buffer.appendBuffer(Buffer buff,
int offset,
int len)
Appends the specified
Buffer starting at the offset using len to the end of this Buffer. |
Buffer |
Buffer.appendByte(byte b)
Appends the specified
byte to the end of the Buffer. |
Buffer |
Buffer.appendBytes(byte[] bytes)
Appends the specified
byte[] to the end of the Buffer. |
Buffer |
Buffer.appendBytes(byte[] bytes,
int offset,
int len)
Appends the specified number of bytes from
byte[] to the end of the Buffer, starting at the given offset. |
Buffer |
Buffer.appendDouble(double d)
Appends the specified
double to the end of the Buffer. |
Buffer |
Buffer.appendFloat(float f)
Appends the specified
float to the end of the Buffer. |
Buffer |
Buffer.appendInt(int i)
Appends the specified
int to the end of the Buffer. |
Buffer |
Buffer.appendIntLE(int i)
Appends the specified
int to the end of the Buffer in the Little Endian Byte Order. |
Buffer |
Buffer.appendLong(long l)
Appends the specified
long to the end of the Buffer. |
Buffer |
Buffer.appendLongLE(long l)
Appends the specified
long to the end of the Buffer in the Little Endian Byte Order. |
Buffer |
Buffer.appendMedium(int i)
Appends the specified 24bit
int to the end of the Buffer. |
Buffer |
Buffer.appendMediumLE(int i)
Appends the specified 24bit
int to the end of the Buffer in the Little Endian Byte Order. |
Buffer |
Buffer.appendShort(short s)
Appends the specified
short to the end of the Buffer.The buffer will expand as necessary to accommodate any bytes written. |
Buffer |
Buffer.appendShortLE(short s)
Appends the specified
short to the end of the Buffer in the Little Endian Byte Order.The buffer will expand as necessary to accommodate any bytes written. |
Buffer |
Buffer.appendString(String str)
Appends the specified
String str to the end of the Buffer with UTF-8 encoding. |
Buffer |
Buffer.appendString(String str,
String enc)
Appends the specified
String to the end of the Buffer with the encoding as specified by enc. |
Buffer |
Buffer.appendUnsignedByte(short b)
Appends the specified unsigned
byte to the end of the Buffer. |
Buffer |
Buffer.appendUnsignedInt(long i)
Appends the specified unsigned
int to the end of the Buffer. |
Buffer |
Buffer.appendUnsignedIntLE(long i)
Appends the specified unsigned
int to the end of the Buffer in the Little Endian Byte Order. |
Buffer |
Buffer.appendUnsignedShort(int s)
Appends the specified unsigned
short to the end of the Buffer.The buffer will expand as necessary to accommodate any bytes written. |
Buffer |
Buffer.appendUnsignedShortLE(int s)
Appends the specified unsigned
short to the end of the Buffer in the Little Endian Byte Order.The buffer will expand as necessary to accommodate any bytes written. |
static Buffer |
Buffer.buffer()
Create a new, empty buffer.
|
static Buffer |
Buffer.buffer(byte[] bytes)
Create a new buffer from a byte[].
|
static Buffer |
Buffer.buffer(io.netty.buffer.ByteBuf byteBuf)
Deprecated.
removed from public API in Vert.x 5
|
static Buffer |
Buffer.buffer(int initialSizeHint)
Create a new buffer given the initial size hint.
|
static Buffer |
Buffer.buffer(String string)
Create a new buffer from a string.
|
static Buffer |
Buffer.buffer(String string,
String enc)
Create a new buffer from a string and using the specified encoding.
|
Buffer |
Buffer.copy()
Returns a copy of the entire Buffer.
|
Buffer |
Buffer.getBuffer(int start,
int end)
Returns a copy of a sub-sequence the Buffer as a
Buffer starting at position start
and ending at position end - 1 |
Buffer |
Buffer.getBytes(byte[] dst)
Transfers the content of the Buffer into a
byte[]. |
Buffer |
Buffer.getBytes(byte[] dst,
int dstIndex)
Transfers the content of the Buffer into a
byte[] at the specific destination. |
Buffer |
Buffer.getBytes(int start,
int end,
byte[] dst)
Transfers the content of the Buffer starting at position
start and ending at position end - 1
into a byte[]. |
Buffer |
Buffer.getBytes(int start,
int end,
byte[] dst,
int dstIndex)
Transfers the content of the Buffer starting at position
start and ending at position end - 1
into a byte[] at the specific destination. |
Buffer |
Buffer.setBuffer(int pos,
Buffer b)
Sets the bytes at position
pos in the Buffer to the bytes represented by the Buffer b. |
Buffer |
Buffer.setBuffer(int pos,
Buffer b,
int offset,
int len)
Sets the bytes at position
pos in the Buffer to the bytes represented by the Buffer b on the given offset and len. |
Buffer |
Buffer.setByte(int pos,
byte b)
Sets the
byte at position pos in the Buffer to the value b. |
Buffer |
Buffer.setBytes(int pos,
byte[] b)
Sets the bytes at position
pos in the Buffer to the bytes represented by the byte[] b. |
Buffer |
Buffer.setBytes(int pos,
byte[] b,
int offset,
int len)
Sets the given number of bytes at position
pos in the Buffer to the bytes represented by the byte[] b. |
Buffer |
Buffer.setBytes(int pos,
ByteBuffer b)
Sets the bytes at position
pos in the Buffer to the bytes represented by the ByteBuffer b. |
Buffer |
Buffer.setDouble(int pos,
double d)
Sets the
double at position pos in the Buffer to the value d. |
Buffer |
Buffer.setFloat(int pos,
float f)
Sets the
float at position pos in the Buffer to the value f. |
Buffer |
Buffer.setInt(int pos,
int i)
Sets the
int at position pos in the Buffer to the value i. |
Buffer |
Buffer.setIntLE(int pos,
int i)
Sets the
int at position pos in the Buffer to the value i in the Little Endian Byte Order. |
Buffer |
Buffer.setLong(int pos,
long l)
Sets the
long at position pos in the Buffer to the value l. |
Buffer |
Buffer.setLongLE(int pos,
long l)
Sets the
long at position pos in the Buffer to the value l in the Little Endian Byte Order. |
Buffer |
Buffer.setMedium(int pos,
int i)
Sets the 24bit
int at position pos in the Buffer to the value i. |
Buffer |
Buffer.setMediumLE(int pos,
int i)
Sets the 24bit
int at position pos in the Buffer to the value i. in the Little Endian Byte Order
The buffer will expand as necessary to accommodate any value written. |
Buffer |
Buffer.setShort(int pos,
short s)
Sets the
short at position pos in the Buffer to the value s. |
Buffer |
Buffer.setShortLE(int pos,
short s)
Sets the
short at position pos in the Buffer to the value s in the Little Endian Byte Order. |
Buffer |
Buffer.setString(int pos,
String str)
Sets the bytes at position
pos in the Buffer to the value of str encoded in UTF-8. |
Buffer |
Buffer.setString(int pos,
String str,
String enc)
Sets the bytes at position
pos in the Buffer to the value of str encoded in encoding enc. |
Buffer |
Buffer.setUnsignedByte(int pos,
short b)
Sets the unsigned
byte at position pos in the Buffer to the value b. |
Buffer |
Buffer.setUnsignedInt(int pos,
long i)
Sets the unsigned
int at position pos in the Buffer to the value i. |
Buffer |
Buffer.setUnsignedIntLE(int pos,
long i)
Sets the unsigned
int at position pos in the Buffer to the value i in the Little Endian Byte Order. |
Buffer |
Buffer.setUnsignedShort(int pos,
int s)
Sets the unsigned
short at position pos in the Buffer to the value s. |
Buffer |
Buffer.setUnsignedShortLE(int pos,
int s)
Sets the unsigned
short at position pos in the Buffer to the value s in the Little Endian Byte Order. |
Buffer |
Buffer.slice()
Returns a slice of this buffer.
|
Buffer |
Buffer.slice(int start,
int end)
Returns a slice of this buffer.
|
| Modifier and Type | Method and Description |
|---|---|
Buffer |
Buffer.appendBuffer(Buffer buff)
Appends the specified
Buffer to the end of this Buffer. |
Buffer |
Buffer.appendBuffer(Buffer buff,
int offset,
int len)
Appends the specified
Buffer starting at the offset using len to the end of this Buffer. |
Buffer |
Buffer.setBuffer(int pos,
Buffer b)
Sets the bytes at position
pos in the Buffer to the bytes represented by the Buffer b. |
Buffer |
Buffer.setBuffer(int pos,
Buffer b,
int offset,
int len)
Sets the bytes at position
pos in the Buffer to the bytes represented by the Buffer b on the given offset and len. |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
DatagramPacket.data()
Returns the data of the
DatagramPacket |
| Modifier and Type | Method and Description |
|---|---|
WriteStream<Buffer> |
DatagramSocket.sender(int port,
String host)
|
| Modifier and Type | Method and Description |
|---|---|
Future<Void> |
DatagramSocket.send(Buffer packet,
int port,
String host)
Like
DatagramSocket.send(Buffer, int, String, Handler) but returns a Future of the asynchronous result |
DatagramSocket |
DatagramSocket.send(Buffer packet,
int port,
String host,
Handler<AsyncResult<Void>> handler)
Write the given
Buffer to the SocketAddress. |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
AddressResolverOptions.getHostsValue() |
| Modifier and Type | Method and Description |
|---|---|
AddressResolverOptions |
AddressResolverOptions.setHostsValue(Buffer hostsValue)
Set an alternate hosts configuration file to use instead of the one provided by the os.
|
| Modifier and Type | Method and Description |
|---|---|
EventBusOptions |
EventBusOptions.addCrlValue(Buffer crlValue) |
R |
MessageCodec.decodeFromWire(int pos,
Buffer buffer)
Called by Vert.x when a message is decoded from the wire.
|
void |
MessageCodec.encodeToWire(Buffer buffer,
S s)
Called by Vert.x when marshalling a message to the wire.
|
| Modifier and Type | Method and Description |
|---|---|
Buffer |
FileSystem.readFileBlocking(String path)
Blocking version of
FileSystem.readFile(String, Handler) |
| Modifier and Type | Method and Description |
|---|---|
Future<Buffer> |
AsyncFile.read(Buffer buffer,
int offset,
long position,
int length)
Like
AsyncFile.read(Buffer, int, long, int, Handler) but returns a Future of the asynchronous result |
Future<Buffer> |
FileSystem.readFile(String path)
Like
FileSystem.readFile(String, Handler) but returns a Future of the asynchronous result |
| Modifier and Type | Method and Description |
|---|---|
Future<Buffer> |
AsyncFile.read(Buffer buffer,
int offset,
long position,
int length)
Like
AsyncFile.read(Buffer, int, long, int, Handler) but returns a Future of the asynchronous result |
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. |
Future<Void> |
AsyncFile.write(Buffer buffer,
long position)
Like
AsyncFile.write(Buffer, long, Handler) but returns a Future of the asynchronous result |
void |
AsyncFile.write(Buffer buffer,
long position,
Handler<AsyncResult<Void>> handler)
Write a
Buffer to the file at position position in the file, asynchronously. |
Future<Void> |
FileSystem.writeFile(String path,
Buffer data)
Like
FileSystem.writeFile(String, Buffer, Handler) but returns a Future of the asynchronous result |
FileSystem |
FileSystem.writeFile(String path,
Buffer data,
Handler<AsyncResult<Void>> handler)
Creates the file, and writes the specified
Buffer data to the file represented by the path path,
asynchronously. |
FileSystem |
FileSystem.writeFileBlocking(String path,
Buffer data)
Blocking version of
FileSystem.writeFile(String, Buffer, Handler) |
| Modifier and Type | Method and Description |
|---|---|
AsyncFile |
AsyncFile.handler(Handler<Buffer> handler) |
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. |
FileSystem |
FileSystem.readFile(String path,
Handler<AsyncResult<Buffer>> handler)
Reads the entire file as represented by the path
path as a Buffer, asynchronously. |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
WebSocketFrame.binaryData() |
Buffer |
UpgradeRejectedException.getBody() |
Buffer |
GoAway.getDebugData() |
Buffer |
HttpFrame.payload() |
| Modifier and Type | Method and Description |
|---|---|
Future<Buffer> |
HttpClientResponse.body()
Convenience method for receiving the entire request body in one piece.
|
Future<Buffer> |
HttpServerRequest.body()
Convenience method for receiving the entire request body in one piece.
|
Future<Buffer> |
HttpConnection.ping(Buffer data)
Same as
HttpConnection.ping(Buffer, Handler) but returns a Future of the asynchronous result |
| Modifier and Type | Method and Description |
|---|---|
HttpClientOptions |
HttpClientOptions.addCrlValue(Buffer crlValue) |
WebSocketClientOptions |
WebSocketClientOptions.addCrlValue(Buffer crlValue) |
HttpServerOptions |
HttpServerOptions.addCrlValue(Buffer crlValue) |
static WebSocketFrame |
WebSocketFrame.binaryFrame(Buffer data,
boolean isFinal)
Create a binary WebSocket frame.
|
static WebSocketFrame |
WebSocketFrame.continuationFrame(Buffer data,
boolean isFinal)
Create a continuation frame
|
Future<Void> |
HttpClientRequest.end(Buffer chunk)
Same as
HttpClientRequest.end() but writes some data to the request body before ending. |
Future<Void> |
HttpServerResponse.end(Buffer chunk)
Same as
HttpServerResponse.end() but writes some data to the response body before ending. |
void |
HttpClientRequest.end(Buffer chunk,
Handler<AsyncResult<Void>> handler)
Same as
HttpClientRequest.end(String) but with an handler called when the operation completes |
void |
HttpServerResponse.end(Buffer chunk,
Handler<AsyncResult<Void>> handler)
Same as
HttpServerResponse.end(Buffer) but with an handler called when the operation completes |
HttpConnection |
HttpConnection.goAway(long errorCode,
int lastStreamId,
Buffer debugData)
Send a go away frame to the remote endpoint of the connection.
|
Future<Buffer> |
HttpConnection.ping(Buffer data)
Same as
HttpConnection.ping(Buffer, Handler) but returns a Future of the asynchronous result |
HttpConnection |
HttpConnection.ping(Buffer data,
Handler<AsyncResult<Buffer>> pongHandler)
Send a PING frame to the remote endpoint.
|
static WebSocketFrame |
WebSocketFrame.pingFrame(Buffer data)
Create a ping WebSocket frame.
|
static WebSocketFrame |
WebSocketFrame.pongFrame(Buffer data)
Create a pong WebSocket frame.
|
default Future<HttpClientResponse> |
HttpClientRequest.send(Buffer body)
Like
HttpClientRequest.send(Buffer, Handler) but returns a Future of the asynchronous result |
default Future<Void> |
HttpServerResponse.send(Buffer body)
Like
HttpServerResponse.send(Buffer, Handler) but returns a Future of the asynchronous result |
default void |
HttpClientRequest.send(Buffer body,
Handler<AsyncResult<HttpClientResponse>> handler)
Send the request with a buffer
body. |
default void |
HttpServerResponse.send(Buffer body,
Handler<AsyncResult<Void>> handler)
Send the request with a buffer
body. |
GoAway |
GoAway.setDebugData(Buffer debugData)
Set the additional debug data
|
Future<Void> |
WebSocketBase.writeBinaryMessage(Buffer data)
Writes a (potentially large) piece of binary data to the connection.
|
WebSocketBase |
WebSocketBase.writeBinaryMessage(Buffer data,
Handler<AsyncResult<Void>> handler)
Same as
WebSocketBase.writeBinaryMessage(Buffer) but with an handler called when the operation completes |
ClientWebSocket |
ClientWebSocket.writeBinaryMessage(Buffer data,
Handler<AsyncResult<Void>> handler) |
WebSocket |
WebSocket.writeBinaryMessage(Buffer data,
Handler<AsyncResult<Void>> handler) |
ServerWebSocket |
ServerWebSocket.writeBinaryMessage(Buffer data,
Handler<AsyncResult<Void>> handler) |
HttpClientRequest |
HttpClientRequest.writeCustomFrame(int type,
int flags,
Buffer payload)
Write an HTTP/2 frame to the request, allowing to extend the HTTP/2 protocol.
|
HttpServerResponse |
HttpServerResponse.writeCustomFrame(int type,
int flags,
Buffer payload)
Write an HTTP/2 frame to the response, allowing to extend the HTTP/2 protocol.
|
Future<Void> |
WebSocketBase.writeFinalBinaryFrame(Buffer data)
Write a final WebSocket binary frame to the connection
|
WebSocketBase |
WebSocketBase.writeFinalBinaryFrame(Buffer data,
Handler<AsyncResult<Void>> handler)
Same as
WebSocketBase.writeFinalBinaryFrame(Buffer, Handler) but with an handler called when the operation completes |
ClientWebSocket |
ClientWebSocket.writeFinalBinaryFrame(Buffer data,
Handler<AsyncResult<Void>> handler) |
WebSocket |
WebSocket.writeFinalBinaryFrame(Buffer data,
Handler<AsyncResult<Void>> handler) |
ServerWebSocket |
ServerWebSocket.writeFinalBinaryFrame(Buffer data,
Handler<AsyncResult<Void>> handler) |
Future<Void> |
WebSocketBase.writePing(Buffer data)
Like
WebSocketBase.writePing(Buffer, Handler) but with an handler called when the message has been written
or failed to be written. |
WebSocketBase |
WebSocketBase.writePing(Buffer data,
Handler<AsyncResult<Void>> handler)
Writes a ping frame to the connection.
|
ClientWebSocket |
ClientWebSocket.writePing(Buffer data,
Handler<AsyncResult<Void>> handler) |
WebSocket |
WebSocket.writePing(Buffer data,
Handler<AsyncResult<Void>> handler) |
ServerWebSocket |
ServerWebSocket.writePing(Buffer data,
Handler<AsyncResult<Void>> handler) |
Future<Void> |
WebSocketBase.writePong(Buffer data)
Like
WebSocketBase.writePong(Buffer, Handler) but with an handler called when the message has been written
or failed to be written. |
WebSocketBase |
WebSocketBase.writePong(Buffer data,
Handler<AsyncResult<Void>> handler)
Writes a pong frame to the connection.
|
ClientWebSocket |
ClientWebSocket.writePong(Buffer data,
Handler<AsyncResult<Void>> handler) |
WebSocket |
WebSocket.writePong(Buffer data,
Handler<AsyncResult<Void>> handler) |
ServerWebSocket |
ServerWebSocket.writePong(Buffer data,
Handler<AsyncResult<Void>> handler) |
| Modifier and Type | Method and Description |
|---|---|
default HttpClientResponse |
HttpClientResponse.body(Handler<AsyncResult<Buffer>> handler)
Same as
HttpClientResponse.body() but with an handler called when the operation completes |
default HttpServerRequest |
HttpServerRequest.body(Handler<AsyncResult<Buffer>> handler)
Same as
HttpServerRequest.body() but with an handler called when the operation completes |
default HttpClientResponse |
HttpClientResponse.bodyHandler(Handler<Buffer> bodyHandler)
Convenience method for receiving the entire request body in one piece.
|
WebSocketBase |
WebSocketBase.handler(Handler<Buffer> handler) |
ClientWebSocket |
ClientWebSocket.handler(Handler<Buffer> handler) |
HttpClientResponse |
HttpClientResponse.handler(Handler<Buffer> handler) |
HttpServerRequest |
HttpServerRequest.handler(Handler<Buffer> handler) |
WebSocket |
WebSocket.handler(Handler<Buffer> handler) |
HttpServerFileUpload |
HttpServerFileUpload.handler(Handler<Buffer> handler) |
ServerWebSocket |
ServerWebSocket.handler(Handler<Buffer> handler) |
HttpConnection |
HttpConnection.ping(Buffer data,
Handler<AsyncResult<Buffer>> pongHandler)
Send a PING frame to the remote endpoint.
|
default Future<HttpClientResponse> |
HttpClientRequest.send(ReadStream<Buffer> body)
Like
HttpClientRequest.send(ReadStream, Handler) but returns a Future of the asynchronous result |
default Future<Void> |
HttpServerResponse.send(ReadStream<Buffer> body)
Like
HttpServerResponse.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. |
| Constructor and Description |
|---|
UpgradeRejectedException(String message,
int status,
MultiMap headers,
Buffer content) |
| Modifier and Type | Method and Description |
|---|---|
static Buffer |
Json.encodeToBuffer(Object obj)
Encode a POJO to JSON using the underlying Jackson mapper.
|
Buffer |
JsonArray.getBuffer(int pos)
Get the Buffer at position
pos in the array. |
Buffer |
JsonObject.getBuffer(String key)
Get the
Buffer value with the specified key. |
Buffer |
JsonObject.getBuffer(String key,
Buffer def)
Like
JsonObject.getBuffer(String) but specifying a default value to return if there is no entry. |
Buffer |
JsonObject.toBuffer()
Encode this JSON object as buffer.
|
Buffer |
JsonArray.toBuffer()
Encode this JSON object as buffer.
|
| Modifier and Type | Method and Description |
|---|---|
static Object |
Json.decodeValue(Buffer buf)
Decode a given JSON buffer.
|
static <T> T |
Json.decodeValue(Buffer buf,
Class<T> clazz)
Decode a given JSON buffer to a POJO of the given class type.
|
Buffer |
JsonObject.getBuffer(String key,
Buffer def)
Like
JsonObject.getBuffer(String) but specifying a default value to return if there is no entry. |
int |
JsonObject.readFromBuffer(int pos,
Buffer buffer) |
int |
JsonArray.readFromBuffer(int pos,
Buffer buffer) |
void |
JsonObject.writeToBuffer(Buffer buffer) |
void |
JsonArray.writeToBuffer(Buffer buffer) |
| Constructor and Description |
|---|
JsonArray(Buffer buf)
Create an instance from a Buffer of JSON.
|
JsonObject(Buffer buf)
Create an instance from a buffer.
|
| Modifier and Type | Method and Description |
|---|---|
Buffer |
DatabindCodec.toBuffer(Object object,
boolean pretty) |
Buffer |
JacksonCodec.toBuffer(Object object,
boolean pretty) |
| Modifier and Type | Method and Description |
|---|---|
static com.fasterxml.jackson.core.JsonParser |
DatabindCodec.createParser(Buffer buf) |
static com.fasterxml.jackson.core.JsonParser |
JacksonCodec.createParser(Buffer buf) |
static <T> T |
JacksonCodec.decodeValue(Buffer buf,
com.fasterxml.jackson.core.type.TypeReference<T> type)
Decode a given JSON buffer to a POJO of the given class type.
|
Object |
JacksonCodec.fromBuffer(Buffer buf) |
<T> T |
DatabindCodec.fromBuffer(Buffer buf,
Class<T> clazz) |
<T> T |
JacksonCodec.fromBuffer(Buffer json,
Class<T> clazz) |
<T> T |
DatabindCodec.fromBuffer(Buffer buf,
com.fasterxml.jackson.core.type.TypeReference<T> typeRef) |
<T> T |
JacksonCodec.fromBuffer(Buffer buf,
com.fasterxml.jackson.core.type.TypeReference<T> typeRef) |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
PemKeyCertOptions.getCertValue()
Get the first certificate as a buffer
|
Buffer |
PemKeyCertOptions.getKeyValue()
Get the first key as a buffer
|
Buffer |
KeyStoreOptionsBase.getValue()
Get the key store as a buffer
|
| Modifier and Type | Method and Description |
|---|---|
List<Buffer> |
PemTrustOptions.getCertValues() |
List<Buffer> |
PemKeyCertOptions.getCertValues()
Get all the certificates as a list of buffer
|
List<Buffer> |
TCPSSLOptions.getCrlValues()
Get the CRL values
|
List<Buffer> |
SSLOptions.getCrlValues()
Get the CRL values
|
List<Buffer> |
PemKeyCertOptions.getKeyValues()
Get all the keys as a list of buffer
|
| Modifier and Type | Method and Description |
|---|---|
PemTrustOptions |
PemTrustOptions.addCertValue(Buffer certValue)
Add a certificate value
|
PemKeyCertOptions |
PemKeyCertOptions.addCertValue(Buffer certValue)
Add a certificate as a buffer
|
NetClientOptions |
NetClientOptions.addCrlValue(Buffer crlValue) |
TCPSSLOptions |
TCPSSLOptions.addCrlValue(Buffer crlValue)
Add a CRL value
|
SSLOptions |
SSLOptions.addCrlValue(Buffer crlValue)
Add a CRL value
|
NetServerOptions |
NetServerOptions.addCrlValue(Buffer crlValue) |
ClientOptionsBase |
ClientOptionsBase.addCrlValue(Buffer crlValue) |
PemKeyCertOptions |
PemKeyCertOptions.addKeyValue(Buffer keyValue)
Add a key as a buffer
|
PemKeyCertOptions |
PemKeyCertOptions.setCertValue(Buffer certValue)
Set the first certificate as a buffer, replacing the previous certificates buffers
|
PemKeyCertOptions |
PemKeyCertOptions.setKeyValue(Buffer keyValue)
Set the first key a a buffer, replacing the previous keys buffers
|
JksOptions |
JksOptions.setValue(Buffer value)
Set the key store as a buffer
|
KeyStoreOptionsBase |
KeyStoreOptionsBase.setValue(Buffer value)
Set the key store as a buffer
|
PfxOptions |
PfxOptions.setValue(Buffer value)
Set the key store as a buffer
|
KeyStoreOptions |
KeyStoreOptions.setValue(Buffer value) |
void |
NetSocket.write(Buffer message,
Handler<AsyncResult<Void>> handler)
Like
WriteStream.write(Object) but with an handler called when the message has been written
or failed to be written. |
| Modifier and Type | Method and Description |
|---|---|
NetSocket |
NetSocket.handler(Handler<Buffer> handler) |
PemKeyCertOptions |
PemKeyCertOptions.setCertValues(List<Buffer> certValues)
Set all the certificates as a list of buffer
|
PemKeyCertOptions |
PemKeyCertOptions.setKeyValues(List<Buffer> keyValues)
Set all the keys as a list of buffer
|
| Modifier and Type | Method and Description |
|---|---|
Buffer |
JsonEvent.binaryValue()
Return the binary value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RecordParser.delimitedMode(Buffer delim)
Flip the parser into delimited mode, and where the delimiter can be represented
by the delimiter
delim. |
void |
RecordParser.handle(Buffer buffer)
This method is called to provide the parser with data.
|
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
RecordParser.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
RecordParser.newDelimited(Buffer) but wraps the stream. |
JsonParser |
JsonParser.write(Buffer buffer)
Handle a
Buffer, pretty much like calling Handler.handle(Object). |
| Modifier and Type | Method and Description |
|---|---|
RecordParser |
RecordParser.handler(Handler<Buffer> handler) |
static RecordParser |
RecordParser.newDelimited(Buffer delim,
Handler<Buffer> output)
Like
RecordParser.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
RecordParser.newDelimited(Buffer) but wraps the stream. |
static RecordParser |
RecordParser.newDelimited(String delim,
Handler<Buffer> output)
Like
RecordParser.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
RecordParser.newDelimited(String) but wraps the stream. |
static RecordParser |
RecordParser.newFixed(int size,
Handler<Buffer> output)
Like
RecordParser.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
RecordParser.newFixed(int) but wraps the stream. |
static JsonParser |
JsonParser.newParser(ReadStream<Buffer> stream)
Create a new
JsonParser instance. |
void |
RecordParser.setOutput(Handler<Buffer> output) |
| Modifier and Type | Method and Description |
|---|---|
int |
ClusterSerializable.readFromBuffer(int pos,
Buffer buffer)
Method invoked when deserializing bytes to this instance.
|
void |
ClusterSerializable.writeToBuffer(Buffer buffer)
Method invoked when serializing this instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
RegistrationInfo.readFromBuffer(int start,
Buffer buffer) |
int |
NodeInfo.readFromBuffer(int start,
Buffer buffer) |
void |
RegistrationInfo.writeToBuffer(Buffer buffer) |
void |
NodeInfo.writeToBuffer(Buffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
default Buffer |
JsonCodec.toBuffer(Object object)
Like
JsonCodec.toString(Object) but with a json Buffer |
Buffer |
JsonCodec.toBuffer(Object object,
boolean pretty)
Like
JsonCodec.toString(Object, boolean) but with a json Buffer |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
JsonCodec.fromBuffer(Buffer json,
Class<T> clazz)
Like
JsonCodec.fromString(String, Class) but with a json Buffer |
Copyright © 2026 Eclipse. All rights reserved.