[
https://issues.apache.org/jira/browse/TINKERPOP-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stephen mallette reassigned TINKERPOP-1984:
-------------------------------------------
Assignee: stephen mallette
> Allow support for multiple serializer versions in Gremlin Server HTTP
> ---------------------------------------------------------------------
>
> Key: TINKERPOP-1984
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1984
> Project: TinkerPop
> Issue Type: Improvement
> Components: server
> Affects Versions: 3.3.3
> Reporter: stephen mallette
> Assignee: stephen mallette
> Priority: Minor
> Labels: breaking, deprecation
> Fix For: 3.4.0
>
>
> The {{HttpGremlinEndPointHandler}} only deals with {{MessageTextSerializer}}
> implementations and you can't configure multiple GraphSON ones because all of
> those implementations bind to {{application/json}} mimetype. I'm not even
> quite sure why a distinction exists anymore between "text" and "binary"
> serialization because we serialize to string only to turn around and convert
> to a {{ByteBuf}} which is what the binary version of the serializers already
> do.
> This is a breaking change because the header mime type appended to requests
> generated from {{GraphSONMessageSerializerV2d0}} changed from
> {{application/json}} to {{application/vnd.gremlin-v2.0+json}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)