Class GraphSONMessageSerializerV4
java.lang.Object
org.apache.tinkerpop.gremlin.util.ser.AbstractMessageSerializer<org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper>
org.apache.tinkerpop.gremlin.util.ser.AbstractGraphSONMessageSerializerV4
org.apache.tinkerpop.gremlin.util.ser.GraphSONMessageSerializerV4
- All Implemented Interfaces:
MessageSerializer<org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper>
Serialize results to JSON with version 4.0.x schema and the extended module.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.tinkerpop.gremlin.util.ser.AbstractGraphSONMessageSerializerV4
AbstractGraphSONMessageSerializerV4.GremlinServerModuleV4, AbstractGraphSONMessageSerializerV4.RequestMessageDeserializer, AbstractGraphSONMessageSerializerV4.RequestMessageSerializer, AbstractGraphSONMessageSerializerV4.ResponseMessageDeserializer, AbstractGraphSONMessageSerializerV4.ResponseMessageFooterSerializer, AbstractGraphSONMessageSerializerV4.ResponseMessageHeaderSerializer, AbstractGraphSONMessageSerializerV4.ResponseMessageSerializerNested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.util.MessageSerializer
MessageSerializer.MessageParts -
Field Summary
Fields inherited from class org.apache.tinkerpop.gremlin.util.ser.AbstractGraphSONMessageSerializerV4
mapperFields inherited from class org.apache.tinkerpop.gremlin.util.ser.AbstractMessageSerializer
TOKEN_IO_REGISTRIES -
Constructor Summary
ConstructorsConstructorDescriptionCreates a default GraphSONMessageSerializer.GraphSONMessageSerializerV4(GraphSONMapper.Builder mapperBuilder) Create a GraphSONMessageSerializer with a providedGraphSONMapper.Builder. -
Method Summary
Methods inherited from class org.apache.tinkerpop.gremlin.util.ser.AbstractGraphSONMessageSerializerV4
configure, deserializeBinaryRequest, deserializeBinaryResponse, getMapper, isTyped, readChunk, serializeRequestAsBinary, serializeResponseAsBinary, writeChunk, writeErrorFooter, writeFooter, writeHeaderMethods inherited from class org.apache.tinkerpop.gremlin.util.ser.AbstractMessageSerializer
addIoRegistries, getListStringFromConfig, tryInstanceMethod
-
Constructor Details
-
GraphSONMessageSerializerV4
public GraphSONMessageSerializerV4()Creates a default GraphSONMessageSerializer.By default this will internally instantiate a
GraphSONMapperand register aAbstractGraphSONMessageSerializerV4.GremlinServerModuleV4andGraphSONXModuleV4to the mapper. -
GraphSONMessageSerializerV4
Create a GraphSONMessageSerializer with a providedGraphSONMapper.Builder. Note that to make this mapper usable in the context of request messages and responses, this method will automatically register aAbstractGraphSONMessageSerializerV4.GremlinServerModuleV4to the provided mapper.
-
-
Method Details
-
mimeTypesSupported
Description copied from interface:MessageSerializerThe list of mime types that the serializer supports. They should be ordered in preferred ordered where the greatest fidelity match is first.
-