Class String8TypeDecoder
java.lang.Object
org.apache.qpid.protonj2.codec.decoders.AbstractPrimitiveTypeDecoder<String>
org.apache.qpid.protonj2.codec.decoders.primitives.AbstractStringTypeDecoder
org.apache.qpid.protonj2.codec.decoders.primitives.String8TypeDecoder
- All Implemented Interfaces:
StringTypeDecoder
,PrimitiveTypeDecoder<String>
,StreamTypeDecoder<String>
,TypeDecoder<String>
Decoder of AMQP small String values from a byte stream.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
protected int
readSize
(InputStream stream) protected int
readSize
(ProtonBuffer buffer) Methods inherited from class org.apache.qpid.protonj2.codec.decoders.primitives.AbstractStringTypeDecoder
readValue, readValue, skipValue, skipValue
Methods inherited from class org.apache.qpid.protonj2.codec.decoders.AbstractPrimitiveTypeDecoder
isArrayType, isJavaPrimitive, readArrayElements, readArrayElements
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.qpid.protonj2.codec.decoders.PrimitiveTypeDecoder
isJavaPrimitive
Methods inherited from interface org.apache.qpid.protonj2.codec.StreamTypeDecoder
getTypeClass, isArrayType, readArrayElements
Methods inherited from interface org.apache.qpid.protonj2.codec.decoders.primitives.StringTypeDecoder
getTypeClass
Methods inherited from interface org.apache.qpid.protonj2.codec.TypeDecoder
isArrayType, readArrayElements
-
Constructor Details
-
String8TypeDecoder
public String8TypeDecoder()
-
-
Method Details
-
getTypeCode
public int getTypeCode()- Returns:
- the AMQP Encoding Code that this primitive type decoder can read.
-
readSize
- Specified by:
readSize
in classAbstractStringTypeDecoder
- Throws:
DecodeException
-
readSize
- Specified by:
readSize
in classAbstractStringTypeDecoder
- Throws:
DecodeException
-