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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintprotected intreadSize(InputStream stream) protected intreadSize(ProtonBuffer buffer) Methods inherited from class org.apache.qpid.protonj2.codec.decoders.primitives.AbstractStringTypeDecoder
readValue, readValue, skipValue, skipValueMethods inherited from class org.apache.qpid.protonj2.codec.decoders.AbstractPrimitiveTypeDecoder
isArrayType, isJavaPrimitive, readArrayElements, readArrayElementsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.qpid.protonj2.codec.decoders.PrimitiveTypeDecoder
isJavaPrimitiveMethods inherited from interface org.apache.qpid.protonj2.codec.StreamTypeDecoder
getTypeClass, isArrayType, readArrayElementsMethods inherited from interface org.apache.qpid.protonj2.codec.decoders.primitives.StringTypeDecoder
getTypeClassMethods 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:
readSizein classAbstractStringTypeDecoder- Throws:
DecodeException
-
readSize
- Specified by:
readSizein classAbstractStringTypeDecoder- Throws:
DecodeException
-