public class

ContentHeaderPropertyReader

extends Object
java.lang.Object
   ↳ com.rabbitmq.client.impl.ContentHeaderPropertyReader

Class Overview

Parses an AMQP wire-protocol ContentHeader from a DataInputStream. Methods on this object are usually called from autogenerated code.

Summary

Fields
public int bitCount Current flag position counter
public int flagWord Current field flag word
Public Constructors
ContentHeaderPropertyReader(DataInputStream in)
Protected API - Constructs a reader from the given input stream
Public Methods
void finishPresence()
void readFlagWord()
Integer readLong()
Reads and returns an AMQP integer content header field.
Long readLonglong()
Reads and returns an AMQP long integer content header field.
LongString readLongstr()
Reads and returns an AMQP "long string" (binary) content header field.
int readOctet()
Reads and returns an AMQP octet content header field.
boolean readPresence()
Integer readShort()
Reads and returns an AMQP short integer content header field.
String readShortstr()
Reads and returns an AMQP short string content header field.
Map<StringObject> readTable()
Reads and returns an AMQP table content header field.
Date readTimestamp()
Reads and returns an AMQP timestamp content header field.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public int bitCount

Current flag position counter

public int flagWord

Current field flag word

Public Constructors

public ContentHeaderPropertyReader (DataInputStream in)

Protected API - Constructs a reader from the given input stream

Throws
IOException

Public Methods

public void finishPresence ()

Throws
IOException

public void readFlagWord ()

Throws
IOException

public Integer readLong ()

Reads and returns an AMQP integer content header field.

Throws
IOException

public Long readLonglong ()

Reads and returns an AMQP long integer content header field.

Throws
IOException

public LongString readLongstr ()

Reads and returns an AMQP "long string" (binary) content header field.

Throws
IOException

public int readOctet ()

Reads and returns an AMQP octet content header field.

Throws
IOException

public boolean readPresence ()

Throws
IOException

public Integer readShort ()

Reads and returns an AMQP short integer content header field.

Throws
IOException

public String readShortstr ()

Reads and returns an AMQP short string content header field.

Throws
IOException

public Map<StringObject> readTable ()

Reads and returns an AMQP table content header field.

Throws
IOException

public Date readTimestamp ()

Reads and returns an AMQP timestamp content header field.

Throws
IOException