com.rabbitmq.client.Command |
Known Indirect Subclasses |
Interface to a container for an AMQP method-and-arguments, with optional content header and body.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the body byte array that travelled as part of this
Command, if any.
| |||||||||||
Retrieves the ContentHeader subclass instance held as part of this Command, if any.
| |||||||||||
Retrieves the
Method held within this Command. |
Retrieves the body byte array that travelled as part of this Command, if any.
Retrieves the ContentHeader subclass instance held as part of this Command, if any. Downcast to one of the inner classes of AMQP, for instance AMQP.BasicProperties, as appropriate.
ContentHeader
, or null if none
Retrieves the Method
held within this Command. Downcast to
concrete (implementation-specific!) subclasses as necessary.