Class String32TypeDecoder
- java.lang.Object
-
- org.apache.qpid.protonj2.codec.decoders.AbstractPrimitiveTypeDecoder<java.lang.String>
-
- org.apache.qpid.protonj2.codec.decoders.primitives.AbstractStringTypeDecoder
-
- org.apache.qpid.protonj2.codec.decoders.primitives.String32TypeDecoder
-
- All Implemented Interfaces:
StringTypeDecoder
,PrimitiveTypeDecoder<java.lang.String>
,StreamTypeDecoder<java.lang.String>
,TypeDecoder<java.lang.String>
public final class String32TypeDecoder extends AbstractStringTypeDecoder
Decoder of AMQP String values from a byte stream.
-
-
Constructor Summary
Constructors Constructor Description String32TypeDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getTypeCode()
protected int
readSize(java.io.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
-
-
-
-
Method Detail
-
getTypeCode
public int getTypeCode()
- Returns:
- the AMQP Encoding Code that this primitive type decoder can read.
-
readSize
protected int readSize(ProtonBuffer buffer) throws DecodeException
- Specified by:
readSize
in classAbstractStringTypeDecoder
- Throws:
DecodeException
-
readSize
protected int readSize(java.io.InputStream stream) throws DecodeException
- Specified by:
readSize
in classAbstractStringTypeDecoder
- Throws:
DecodeException
-
-