Dan Berindei created ISPN-11966:
-----------------------------------
Summary: Deprecate application/x-java-object in the REST API
Key: ISPN-11966
URL:
https://issues.redhat.com/browse/ISPN-11966
Project: Infinispan
Issue Type: Task
Components: REST
Affects Versions: 11.0.0.CR1
Reporter: Dan Berindei
Assignee: Gustavo Fernandes
Fix For: 12.0.0.Final
The REST server supports request header {{Key-Content-Type}}, which changes the meaning of
the key in the request URI to be encoded in different media types.
One of the supported media types is {{application/x-java-object}}, which parses Java
primitives as if they were Java literals, with special handling for {{String}} and
{{byte[]}}. The parsing rules are ad-hoc and undocumented, so I suggest we stop supporting
them.
Users who want a readable URI should instead use write the key as JSON and rely on the
server to transcode between JSON and the cache storage media type.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)