public class FastPathHeaderType extends java.lang.Object implements AMQPType<Header>, FastPathDescribedTypeConstructor<Header>
Constructor and Description |
---|
FastPathHeaderType(EncoderImpl encoder) |
Modifier and Type | Method and Description |
---|---|
boolean |
encodesJavaPrimitive() |
java.util.Collection<? extends TypeEncoding<Header>> |
getAllEncodings() |
TypeEncoding<Header> |
getCanonicalEncoding() |
DecoderImpl |
getDecoder() |
EncoderImpl |
getEncoder() |
TypeEncoding<Header> |
getEncoding(Header header) |
java.lang.Class<Header> |
getTypeClass() |
Header |
readValue() |
static void |
register(Decoder decoder,
EncoderImpl encoder) |
void |
skipValue() |
void |
write(Header value) |
public FastPathHeaderType(EncoderImpl encoder)
public EncoderImpl getEncoder()
public DecoderImpl getDecoder()
public Header readValue()
readValue
in interface TypeConstructor<Header>
public void skipValue()
skipValue
in interface TypeConstructor<Header>
public boolean encodesJavaPrimitive()
encodesJavaPrimitive
in interface TypeConstructor<Header>
public java.lang.Class<Header> getTypeClass()
getTypeClass
in interface AMQPType<Header>
getTypeClass
in interface TypeConstructor<Header>
public TypeEncoding<Header> getEncoding(Header header)
getEncoding
in interface AMQPType<Header>
public TypeEncoding<Header> getCanonicalEncoding()
getCanonicalEncoding
in interface AMQPType<Header>
public java.util.Collection<? extends TypeEncoding<Header>> getAllEncodings()
getAllEncodings
in interface AMQPType<Header>
public static void register(Decoder decoder, EncoderImpl encoder)