public final class GraphSONMessageSerializerV3d0 extends AbstractGraphSONMessageSerializerV2d0 implements MessageTextSerializer
AbstractGraphSONMessageSerializerV2d0.GremlinServerModule, AbstractGraphSONMessageSerializerV2d0.JsonBuilderJacksonSerializer, AbstractGraphSONMessageSerializerV2d0.RequestMessageDeserializer, AbstractGraphSONMessageSerializerV2d0.RequestMessageSerializer, AbstractGraphSONMessageSerializerV2d0.ResponseMessageDeserializer, AbstractGraphSONMessageSerializerV2d0.ResponseMessageSerializermapperTOKEN_IO_REGISTRIES| Constructor and Description | 
|---|
| GraphSONMessageSerializerV3d0()Creates a default GraphSONMessageSerializer. | 
| GraphSONMessageSerializerV3d0(GraphSONMapper.Builder mapperBuilder)Create a GraphSONMessageSerializer with a provided  GraphSONMapper.Builder. | 
| GraphSONMessageSerializerV3d0(GraphSONMapper mapper)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| RequestMessage | deserializeRequest(String msg)Deserialize a Netty  ByteBufinto aRequestMessage. | 
| ResponseMessage | deserializeResponse(String msg)Deserialize a Netty  ByteBufinto aResponseMessage. | 
| String[] | mimeTypesSupported()The list of mime types that the serializer supports. | 
| String | serializeRequestAsString(RequestMessage requestMessage) | 
| String | serializeResponseAsString(ResponseMessage responseMessage) | 
configure, serializeRequestAsBinary, serializeResponseAsBinaryaddIoRegistries, getListStringFromConfig, tryInstanceMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, serializeRequestAsBinary, serializeResponseAsBinarypublic GraphSONMessageSerializerV3d0()
 By default this will internally instantiate a GraphSONMapper and register
 a GremlinServerModule and GraphSONXModuleV3d0 to the mapper.
@Deprecated public GraphSONMessageSerializerV3d0(GraphSONMapper mapper)
GraphSONMapper. Deprecated, use
 GraphSONMessageSerializerV3d0(GraphSONMapper.Builder) instead.public GraphSONMessageSerializerV3d0(GraphSONMapper.Builder mapperBuilder)
GraphSONMapper.Builder.
 Note that to make this mapper usable in the context of request messages and responses,
 this method will automatically register a GremlinServerModule to the provided
 mapper.public String[] mimeTypesSupported()
MessageSerializermimeTypesSupported in interface MessageSerializerpublic ResponseMessage deserializeResponse(String msg) throws SerializationException
MessageSerializerByteBuf into a ResponseMessage.deserializeResponse in interface MessageSerializerdeserializeResponse in interface MessageTextSerializerdeserializeResponse in class AbstractGraphSONMessageSerializerV2d0SerializationExceptionpublic String serializeResponseAsString(ResponseMessage responseMessage) throws SerializationException
serializeResponseAsString in interface MessageTextSerializerSerializationExceptionpublic RequestMessage deserializeRequest(String msg) throws SerializationException
MessageSerializerByteBuf into a RequestMessage.deserializeRequest in interface MessageSerializerdeserializeRequest in interface MessageTextSerializerdeserializeRequest in class AbstractGraphSONMessageSerializerV2d0SerializationExceptionpublic String serializeRequestAsString(RequestMessage requestMessage) throws SerializationException
serializeRequestAsString in interface MessageTextSerializerSerializationExceptionCopyright © 2013–2019 Apache Software Foundation. All rights reserved.