Class FastPathHeaderType
- java.lang.Object
-
- org.apache.qpid.proton.codec.messaging.FastPathHeaderType
-
- All Implemented Interfaces:
AMQPType<Header>,FastPathDescribedTypeConstructor<Header>,TypeConstructor<Header>
public class FastPathHeaderType extends java.lang.Object implements AMQPType<Header>, FastPathDescribedTypeConstructor<Header>
-
-
Constructor Summary
Constructors Constructor Description FastPathHeaderType(EncoderImpl encoder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanencodesJavaPrimitive()java.util.Collection<? extends TypeEncoding<Header>>getAllEncodings()TypeEncoding<Header>getCanonicalEncoding()DecoderImplgetDecoder()EncoderImplgetEncoder()TypeEncoding<Header>getEncoding(Header header)java.lang.Class<Header>getTypeClass()HeaderreadValue()static voidregister(Decoder decoder, EncoderImpl encoder)voidskipValue()voidwrite(Header value)
-
-
-
Constructor Detail
-
FastPathHeaderType
public FastPathHeaderType(EncoderImpl encoder)
-
-
Method Detail
-
getEncoder
public EncoderImpl getEncoder()
-
getDecoder
public DecoderImpl getDecoder()
-
readValue
public Header readValue()
- Specified by:
readValuein interfaceTypeConstructor<Header>
-
skipValue
public void skipValue()
- Specified by:
skipValuein interfaceTypeConstructor<Header>
-
encodesJavaPrimitive
public boolean encodesJavaPrimitive()
- Specified by:
encodesJavaPrimitivein interfaceTypeConstructor<Header>
-
getTypeClass
public java.lang.Class<Header> getTypeClass()
- Specified by:
getTypeClassin interfaceAMQPType<Header>- Specified by:
getTypeClassin interfaceTypeConstructor<Header>
-
getEncoding
public TypeEncoding<Header> getEncoding(Header header)
- Specified by:
getEncodingin interfaceAMQPType<Header>
-
getCanonicalEncoding
public TypeEncoding<Header> getCanonicalEncoding()
- Specified by:
getCanonicalEncodingin interfaceAMQPType<Header>
-
getAllEncodings
public java.util.Collection<? extends TypeEncoding<Header>> getAllEncodings()
- Specified by:
getAllEncodingsin interfaceAMQPType<Header>
-
register
public static void register(Decoder decoder, EncoderImpl encoder)
-
-