Uses of Class
software.amazon.awssdk.crt.eventstream.Header
-
Packages that use Header Package Description software.amazon.awssdk.crt.eventstream -
-
Uses of Header in software.amazon.awssdk.crt.eventstream
Methods in software.amazon.awssdk.crt.eventstream that return Header Modifier and Type Method Description static Header
Header. createHeader(String name, boolean value)
Create a header with name of boolean valuestatic Header
Header. createHeader(String name, byte value)
Create a header with name of byte or int8 valuestatic Header
Header. createHeader(String name, byte[] value)
Create a header with name of byte[] valuestatic Header
Header. createHeader(String name, int value)
Create a header with name of int or int32 valuestatic Header
Header. createHeader(String name, long value)
Create a header with name of long or int64 valuestatic Header
Header. createHeader(String name, short value)
Create a header with name of short or int16 valuestatic Header
Header. createHeader(String name, String value)
Create a header with name of String valuestatic Header
Header. createHeader(String name, Date value)
Create a header with name of Date (assumed to be UTC) valuestatic Header
Header. createHeader(String name, UUID value)
Create a header with name of UUID valuestatic Header
Header. fromByteBuffer(ByteBuffer buffer)
Marshals buffer into a Header instanceMethod parameters in software.amazon.awssdk.crt.eventstream with type arguments of type Header Modifier and Type Method Description CompletableFuture<Void>
ClientConnectionContinuation. activate(String operationName, List<Header> headers, byte[] payload, MessageType messageType, int messageFlags)
Sends the initial message on a continuation, and begins the message flow for a stream.void
ClientConnectionContinuation. activate(String operationName, List<Header> headers, byte[] payload, MessageType messageType, int messageFlags, MessageFlushCallback callback)
Initiates a new client stream.CompletableFuture<Void>
ClientConnectionContinuation. sendMessage(List<Header> headers, byte[] payload, MessageType messageType, int messageFlags)
Sends message on the continuationvoid
ClientConnectionContinuation. sendMessage(List<Header> headers, byte[] payload, MessageType messageType, int messageFlags, MessageFlushCallback callback)
Sends message on the continuationCompletableFuture<Void>
ServerConnectionContinuation. sendMessage(List<Header> headers, byte[] payload, MessageType messageType, int messageFlags)
Sends message on the continuationvoid
ServerConnectionContinuation. sendMessage(List<Header> headers, byte[] payload, MessageType messageType, int messageFlags, MessageFlushCallback callback)
Sends message on the continuationCompletableFuture<Void>
ClientConnection. sendProtocolMessage(List<Header> headers, byte[] payload, MessageType messageType, int messageFlags)
Sends a protocol message on the connection.void
ClientConnection. sendProtocolMessage(List<Header> headers, byte[] payload, MessageType messageType, int messageFlags, MessageFlushCallback callback)
Sends a protocol message on the connection.CompletableFuture<Void>
ServerConnection. sendProtocolMessage(List<Header> headers, byte[] payload, MessageType messageType, int messageFlags)
Sends a protocol message on the connection.void
ServerConnection. sendProtocolMessage(List<Header> headers, byte[] payload, MessageType messageType, int messageFlags, MessageFlushCallback callback)
Sends a protocol message on the connection.Constructor parameters in software.amazon.awssdk.crt.eventstream with type arguments of type Header Constructor Description Message(List<Header> headers, byte[] payload)
Creates a message using headers and payload.
-