public static class OutgoingContent.ByteArrayContent
extends OutgoingContent
Variant of a class OutgoingContent with payload represented as ByteArray
class OutgoingContent,
ByteArrayOutgoingContent.ByteArrayContent, OutgoingContent.NoContent, OutgoingContent.ProtocolUpgrade, OutgoingContent.ReadChannelContent, OutgoingContent.WriteChannelContent| Constructor and Description |
|---|
ByteArrayContent()
Variant of a
class OutgoingContent with payload represented as ByteArray |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
bytes()
Provides ByteArray which engine will send to peer
|
getContentLength, getContentType, getHeaders, getProperty, getStatus, setPropertypublic ByteArrayContent()
Variant of a class OutgoingContent with payload represented as ByteArray
class OutgoingContent,
ByteArray