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