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 ClassesModifier and TypeClassDescriptionclassclassclass -
Constructor Summary
ConstructorsConstructorDescriptionUTF8BufferType(org.apache.qpid.proton.codec.EncoderImpl encoder, org.apache.qpid.proton.codec.DecoderImpl decoder) -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends org.apache.qpid.proton.codec.PrimitiveTypeEncoding<org.fusesource.hawtbuf.UTF8Buffer>>org.apache.qpid.proton.codec.PrimitiveTypeEncoding<org.fusesource.hawtbuf.UTF8Buffer>org.apache.qpid.proton.codec.PrimitiveTypeEncoding<org.fusesource.hawtbuf.UTF8Buffer>getEncoding(org.fusesource.hawtbuf.UTF8Buffer value) Class<org.fusesource.hawtbuf.UTF8Buffer>voidwrite(org.fusesource.hawtbuf.UTF8Buffer value)
-
Constructor Details
-
UTF8BufferType
public UTF8BufferType(org.apache.qpid.proton.codec.EncoderImpl encoder, org.apache.qpid.proton.codec.DecoderImpl decoder)
-
-
Method Details
-
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>
-