public class ContentHeaderPropertyReader extends Object
ContentHeader from a
DataInputStream. Methods on this object are usually called from
autogenerated code.| Constructor and Description |
|---|
ContentHeaderPropertyReader(DataInputStream in)
Protected API - Constructs a reader from the given input stream
|
| Modifier and Type | Method and Description |
|---|---|
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<String,Object> |
readTable()
Reads and returns an AMQP table content header field.
|
Date |
readTimestamp()
Reads and returns an AMQP timestamp content header field.
|
public ContentHeaderPropertyReader(DataInputStream in) throws IOException
IOExceptionpublic void readFlagWord()
throws IOException
IOExceptionpublic boolean readPresence()
throws IOException
IOExceptionpublic void finishPresence()
throws IOException
IOExceptionpublic String readShortstr() throws IOException
IOExceptionpublic LongString readLongstr() throws IOException
IOExceptionpublic Integer readShort() throws IOException
IOExceptionpublic Integer readLong() throws IOException
IOExceptionpublic Long readLonglong() throws IOException
IOExceptionpublic Map<String,Object> readTable() throws IOException
IOExceptionpublic int readOctet()
throws IOException
IOExceptionpublic Date readTimestamp() throws IOException
IOExceptionCopyright © 2021 VMware, Inc. or its affiliates.. All rights reserved.