public final class AmqpDataBody extends Object implements AmqpMessageBody
AmqpBodyType.DATA type.| Constructor and Description |
|---|
AmqpDataBody(Iterable<byte[]> data)
Creates instance of
AmqpDataBody with given Iterable of byte array. |
| Modifier and Type | Method and Description |
|---|---|
AmqpBodyType |
getBodyType()
Type representing various supported amqp body types.
|
IterableStream<byte[]> |
getData()
Gets byte array set on this
AmqpDataBody. |
public AmqpDataBody(Iterable<byte[]> data)
AmqpDataBody with given Iterable of byte array.data - to be set on amqp body.NullPointerException - if data is null.public AmqpBodyType getBodyType()
AmqpMessageBodygetBodyType in interface AmqpMessageBodyAmqpBodyType.public IterableStream<byte[]> getData()
AmqpDataBody.AmqpDataBody.Copyright © 2020 Microsoft Corporation. All rights reserved.