Class UTF8BufferType
- java.lang.Object
-
- org.apache.activemq.transport.amqp.message.UTF8BufferType
-
- All Implemented Interfaces:
org.apache.qpid.proton.codec.AMQPType<org.fusesource.hawtbuf.UTF8Buffer>,org.apache.qpid.proton.codec.PrimitiveType<org.fusesource.hawtbuf.UTF8Buffer>
public class UTF8BufferType extends Object implements org.apache.qpid.proton.codec.PrimitiveType<org.fusesource.hawtbuf.UTF8Buffer>
AMQP Type used to allow to proton-j codec to deal with UTF8Buffer types as if they were String elements.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classUTF8BufferType.LargeUTF8BufferEncodingclassUTF8BufferType.SmallUTF8BufferEncodingclassUTF8BufferType.UTF8BufferEncoding
-
Constructor Summary
Constructors Constructor Description UTF8BufferType(org.apache.qpid.proton.codec.EncoderImpl encoder, org.apache.qpid.proton.codec.DecoderImpl decoder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<? extends org.apache.qpid.proton.codec.PrimitiveTypeEncoding<org.fusesource.hawtbuf.UTF8Buffer>>getAllEncodings()org.apache.qpid.proton.codec.PrimitiveTypeEncoding<org.fusesource.hawtbuf.UTF8Buffer>getCanonicalEncoding()org.apache.qpid.proton.codec.PrimitiveTypeEncoding<org.fusesource.hawtbuf.UTF8Buffer>getEncoding(org.fusesource.hawtbuf.UTF8Buffer value)Class<org.fusesource.hawtbuf.UTF8Buffer>getTypeClass()voidwrite(org.fusesource.hawtbuf.UTF8Buffer value)
-
-
-
Method Detail
-
getTypeClass
public Class<org.fusesource.hawtbuf.UTF8Buffer> getTypeClass()
- Specified by:
getTypeClassin interfaceorg.apache.qpid.proton.codec.AMQPType<org.fusesource.hawtbuf.UTF8Buffer>
-
getEncoding
public org.apache.qpid.proton.codec.PrimitiveTypeEncoding<org.fusesource.hawtbuf.UTF8Buffer> getEncoding(org.fusesource.hawtbuf.UTF8Buffer value)
- Specified by:
getEncodingin interfaceorg.apache.qpid.proton.codec.AMQPType<org.fusesource.hawtbuf.UTF8Buffer>- Specified by:
getEncodingin interfaceorg.apache.qpid.proton.codec.PrimitiveType<org.fusesource.hawtbuf.UTF8Buffer>
-
getCanonicalEncoding
public org.apache.qpid.proton.codec.PrimitiveTypeEncoding<org.fusesource.hawtbuf.UTF8Buffer> getCanonicalEncoding()
- Specified by:
getCanonicalEncodingin interfaceorg.apache.qpid.proton.codec.AMQPType<org.fusesource.hawtbuf.UTF8Buffer>- Specified by:
getCanonicalEncodingin interfaceorg.apache.qpid.proton.codec.PrimitiveType<org.fusesource.hawtbuf.UTF8Buffer>
-
getAllEncodings
public Collection<? extends org.apache.qpid.proton.codec.PrimitiveTypeEncoding<org.fusesource.hawtbuf.UTF8Buffer>> getAllEncodings()
- Specified by:
getAllEncodingsin interfaceorg.apache.qpid.proton.codec.AMQPType<org.fusesource.hawtbuf.UTF8Buffer>- Specified by:
getAllEncodingsin interfaceorg.apache.qpid.proton.codec.PrimitiveType<org.fusesource.hawtbuf.UTF8Buffer>
-
write
public void write(org.fusesource.hawtbuf.UTF8Buffer value)
- Specified by:
writein interfaceorg.apache.qpid.proton.codec.AMQPType<org.fusesource.hawtbuf.UTF8Buffer>
-
-