Class GraphSONMessageSerializerV1d0
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.driver.ser.AbstractMessageSerializer<org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper>
-
- org.apache.tinkerpop.gremlin.driver.ser.AbstractGraphSONMessageSerializerV1d0
-
- org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0
-
- All Implemented Interfaces:
MessageSerializer<org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper>
,MessageTextSerializer<org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper>
@Deprecated public final class GraphSONMessageSerializerV1d0 extends AbstractGraphSONMessageSerializerV1d0 implements MessageTextSerializer<org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper>
Deprecated.As of release 3.6.5, replaced byGraphSONUntypedMessageSerializerV1d0
. In the future this will become what was formerly known asGraphSONMessageSerializerGremlinV1d0
which makes the naming consistent for all GraphSON versions.Serialize results to JSON with version 1.0.x schema.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.tinkerpop.gremlin.driver.ser.AbstractGraphSONMessageSerializerV1d0
AbstractGraphSONMessageSerializerV1d0.GremlinServerModule, AbstractGraphSONMessageSerializerV1d0.ResponseMessageSerializer
-
-
Field Summary
-
Fields inherited from class org.apache.tinkerpop.gremlin.driver.ser.AbstractGraphSONMessageSerializerV1d0
mapper, mapTypeReference
-
Fields inherited from class org.apache.tinkerpop.gremlin.driver.ser.AbstractMessageSerializer
TOKEN_IO_REGISTRIES
-
-
Constructor Summary
Constructors Constructor Description GraphSONMessageSerializerV1d0()
Deprecated.GraphSONMessageSerializerV1d0(GraphSONMapper mapper)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RequestMessage
deserializeRequest(String msg)
Deprecated.ResponseMessage
deserializeResponse(String msg)
Deprecated.String[]
mimeTypesSupported()
Deprecated.The list of mime types that the serializer supports.String
serializeRequestAsString(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator)
Deprecated.String
serializeResponseAsString(ResponseMessage responseMessage, io.netty.buffer.ByteBufAllocator allocator)
Deprecated.-
Methods inherited from class org.apache.tinkerpop.gremlin.driver.ser.AbstractGraphSONMessageSerializerV1d0
configure, deserializeRequest, deserializeResponse, getMapper, serializeRequestAsBinary, serializeResponseAsBinary
-
Methods inherited from class org.apache.tinkerpop.gremlin.driver.ser.AbstractMessageSerializer
addIoRegistries, getListStringFromConfig, tryInstanceMethod
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.tinkerpop.gremlin.driver.MessageSerializer
configure, deserializeRequest, deserializeResponse, getMapper, serializeRequestAsBinary, serializeResponseAsBinary
-
-
-
-
Constructor Detail
-
GraphSONMessageSerializerV1d0
public GraphSONMessageSerializerV1d0()
Deprecated.
-
GraphSONMessageSerializerV1d0
public GraphSONMessageSerializerV1d0(GraphSONMapper mapper)
Deprecated.
-
-
Method Detail
-
mimeTypesSupported
public String[] mimeTypesSupported()
Deprecated.Description copied from interface:MessageSerializer
The list of mime types that the serializer supports. They should be ordered in preferred ordered where the greatest fidelity match is first.- Specified by:
mimeTypesSupported
in interfaceMessageSerializer<org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper>
-
deserializeResponse
public ResponseMessage deserializeResponse(String msg) throws SerializationException
Deprecated.- Specified by:
deserializeResponse
in interfaceMessageTextSerializer<org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper>
- Throws:
SerializationException
-
serializeResponseAsString
public String serializeResponseAsString(ResponseMessage responseMessage, io.netty.buffer.ByteBufAllocator allocator) throws SerializationException
Deprecated.- Specified by:
serializeResponseAsString
in interfaceMessageTextSerializer<org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper>
- Throws:
SerializationException
-
deserializeRequest
public RequestMessage deserializeRequest(String msg) throws SerializationException
Deprecated.- Specified by:
deserializeRequest
in interfaceMessageTextSerializer<org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper>
- Throws:
SerializationException
-
serializeRequestAsString
public String serializeRequestAsString(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator) throws SerializationException
Deprecated.- Specified by:
serializeRequestAsString
in interfaceMessageTextSerializer<org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper>
- Throws:
SerializationException
-
-