|
POJO
|
JSON String
|
ignored
|
application/json
|
|
|
Tuple
|
JSON String
|
ignored
|
application/json
|
JSON is tailored for Tuple
|
|
POJO
|
String (toString())
|
ignored
|
text/plain, java.lang.String
|
|
|
POJO
|
byte[] (java.io serialized)
|
ignored
|
application/x-java-serialized-object
|
|
|
JSON byte[] or String
|
POJO
|
application/json (or none)
|
application/x-java-object
|
|
|
byte[] or String
|
Serializable
|
application/x-java-serialized-object
|
application/x-java-object
|
|
|
JSON byte[] or String
|
Tuple
|
application/json (or none)
|
application/x-spring-tuple
|
|
|
byte[]
|
String
|
any
|
text/plain, java.lang.String
|
will apply any Charset specified in the content-type header
|
|
String
|
byte[]
|
any
|
application/octet-stream
|
will apply any Charset specified in the content-type header
|