public class AmqpStringEncoder extends AbstractMessageEncoder<java.lang.String> implements AmqpMessageEncoder<java.lang.String>
Modifier and Type | Field and Description |
---|---|
static AmqpStringEncoder |
ENCODER |
Constructor and Description |
---|
AmqpStringEncoder() |
Modifier and Type | Method and Description |
---|---|
void |
encodeData(AmqpWriter out,
java.lang.String value) |
java.lang.String |
getContentType(java.lang.String value) |
encode, encodeApplicationProperties, encodeDeliveryAnnotations, encodeFooters, encodeMessageAnnotations, encodeProperties, getPriority, getTimeToLive, isDurable, isFirstAcquirer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
encode, getPriority, getTimeToLive, isDurable, isFirstAcquirer
public static final AmqpStringEncoder ENCODER
public java.lang.String getContentType(java.lang.String value)
getContentType
in interface AmqpMessageEncoder<java.lang.String>
getContentType
in class AbstractMessageEncoder<java.lang.String>
public void encodeData(AmqpWriter out, java.lang.String value) throws java.io.IOException
encodeData
in interface AmqpMessageEncoder<java.lang.String>
encodeData
in class AbstractMessageEncoder<java.lang.String>
java.io.IOException