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