Interface MessageDecoder<T,U>
-
public interface MessageDecoder<T,U>
-
-
Field Summary
Fields Modifier and Type Field Description static MessageDecoder<AxisMessage,byte[]>
AXIS_TO_BYTE
static MessageDecoder<AxisMessage,RESTMessage>
AXIS_TO_REST
static MessageDecoder<AxisMessage,String>
AXIS_TO_STRING
static MessageDecoder<AxisMessage,XMLMessage>
AXIS_TO_XML
static MessageDecoder<byte[],String>
BYTE_TO_STRING
static MessageDecoder<byte[],XMLMessage>
BYTE_TO_XML
static MessageDecoder<String,XMLMessage>
STRING_TO_XML
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description U
decode(ContentType contentType, T message)
-
-
-
Field Detail
-
AXIS_TO_BYTE
static final MessageDecoder<AxisMessage,byte[]> AXIS_TO_BYTE
-
AXIS_TO_STRING
static final MessageDecoder<AxisMessage,String> AXIS_TO_STRING
-
AXIS_TO_XML
static final MessageDecoder<AxisMessage,XMLMessage> AXIS_TO_XML
-
AXIS_TO_REST
static final MessageDecoder<AxisMessage,RESTMessage> AXIS_TO_REST
-
BYTE_TO_XML
static final MessageDecoder<byte[],XMLMessage> BYTE_TO_XML
-
STRING_TO_XML
static final MessageDecoder<String,XMLMessage> STRING_TO_XML
-
BYTE_TO_STRING
static final MessageDecoder<byte[],String> BYTE_TO_STRING
-
-
Method Detail
-
decode
U decode(ContentType contentType, T message) throws Exception
- Throws:
Exception
-
-