Interface MessageTextSerializer<M>
- 
- All Superinterfaces:
- MessageSerializer<M>
 - All Known Implementing Classes:
- GraphBinaryMessageSerializerV1,- GraphSONMessageSerializerV1,- GraphSONMessageSerializerV2,- GraphSONMessageSerializerV3,- GraphSONUntypedMessageSerializerV1,- GraphSONUntypedMessageSerializerV2,- GraphSONUntypedMessageSerializerV3,- TextPlainMessageSerializer
 
 public interface MessageTextSerializer<M> extends MessageSerializer<M> An extension to the MessageSerializer interface that allows a format to be compatible with text-based websocket messages. This interface is for internal purposes only. Implementers who have mapper serialization needs should NOT implement this interface as it will not be used. Gremlin Server only supports plain JSON for text-based requests.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
 
- 
- 
Field Summary- 
Fields inherited from interface org.apache.tinkerpop.gremlin.util.MessageSerializerlogger
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description RequestMessagedeserializeRequest(String msg)ResponseMessagedeserializeResponse(String msg)StringserializeRequestAsString(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator)StringserializeResponseAsString(ResponseMessage responseMessage, io.netty.buffer.ByteBufAllocator allocator)- 
Methods inherited from interface org.apache.tinkerpop.gremlin.util.MessageSerializerconfigure, deserializeRequest, deserializeResponse, getMapper, mimeTypesSupported, serializeRequestAsBinary, serializeResponseAsBinary
 
- 
 
- 
- 
- 
Method Detail- 
serializeResponseAsStringString serializeResponseAsString(ResponseMessage responseMessage, io.netty.buffer.ByteBufAllocator allocator) throws SerializationException - Throws:
- SerializationException
 
 - 
serializeRequestAsStringString serializeRequestAsString(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator) throws SerializationException - Throws:
- SerializationException
 
 - 
deserializeRequestRequestMessage deserializeRequest(String msg) throws SerializationException - Throws:
- SerializationException
 
 - 
deserializeResponseResponseMessage deserializeResponse(String msg) throws SerializationException - Throws:
- SerializationException
 
 
- 
 
-