public class FastPathHeaderType extends Object implements AMQPType<Header>, FastPathDescribedTypeConstructor<Header>
| Constructor and Description |
|---|
FastPathHeaderType(EncoderImpl encoder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
encodesJavaPrimitive() |
Collection<? extends TypeEncoding<Header>> |
getAllEncodings() |
TypeEncoding<Header> |
getCanonicalEncoding() |
DecoderImpl |
getDecoder() |
EncoderImpl |
getEncoder() |
TypeEncoding<Header> |
getEncoding(Header header) |
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 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 Collection<? extends TypeEncoding<Header>> getAllEncodings()
getAllEncodings in interface AMQPType<Header>public static void register(Decoder decoder, EncoderImpl encoder)
Copyright © 2020 The Apache Software Foundation. All rights reserved.