public final class GraphSONMessageSerializerV1d0 extends AbstractGraphSONMessageSerializerV1d0 implements MessageTextSerializer<org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper>
AbstractGraphSONMessageSerializerV1d0.GremlinServerModule, AbstractGraphSONMessageSerializerV1d0.ResponseMessageSerializer
mapper, mapTypeReference
TOKEN_IO_REGISTRIES
Constructor and Description |
---|
GraphSONMessageSerializerV1d0() |
GraphSONMessageSerializerV1d0(GraphSONMapper mapper) |
Modifier and Type | Method and Description |
---|---|
RequestMessage |
deserializeRequest(String msg) |
ResponseMessage |
deserializeResponse(String msg) |
String[] |
mimeTypesSupported()
The list of mime types that the serializer supports.
|
String |
serializeRequestAsString(RequestMessage requestMessage) |
String |
serializeResponseAsString(ResponseMessage responseMessage) |
configure, deserializeRequest, deserializeResponse, getMapper, serializeRequestAsBinary, serializeResponseAsBinary
addIoRegistries, getListStringFromConfig, tryInstanceMethod
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure, deserializeRequest, deserializeResponse, getMapper, serializeRequestAsBinary, serializeResponseAsBinary
public GraphSONMessageSerializerV1d0()
public GraphSONMessageSerializerV1d0(GraphSONMapper mapper)
public String[] mimeTypesSupported()
MessageSerializer
mimeTypesSupported
in interface MessageSerializer<org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper>
public ResponseMessage deserializeResponse(String msg) throws SerializationException
deserializeResponse
in interface MessageTextSerializer<org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper>
SerializationException
public String serializeResponseAsString(ResponseMessage responseMessage) throws SerializationException
serializeResponseAsString
in interface MessageTextSerializer<org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper>
SerializationException
public RequestMessage deserializeRequest(String msg) throws SerializationException
deserializeRequest
in interface MessageTextSerializer<org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper>
SerializationException
public String serializeRequestAsString(RequestMessage requestMessage) throws SerializationException
serializeRequestAsString
in interface MessageTextSerializer<org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper>
SerializationException
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.