GraphBinaryMessageSerializerV1.@Deprecated public abstract class AbstractGryoMessageSerializerV1d0 extends AbstractMessageSerializer
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | serializeToStringDeprecated.  | 
| static String | TOKEN_BUFFER_SIZEDeprecated.  | 
| static String | TOKEN_CLASS_RESOLVER_SUPPLIERDeprecated.  | 
| static String | TOKEN_CUSTOMDeprecated.  | 
| static String | TOKEN_SERIALIZE_RESULT_TO_STRINGDeprecated.  | 
TOKEN_IO_REGISTRIESlogger| Constructor and Description | 
|---|
| AbstractGryoMessageSerializerV1d0(GryoMapper kryo)Deprecated.  Creates an instance with a provided mapper configured  GryoMapperinstance. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | configure(Map<String,Object> config,
         Map<String,Graph> graphs)Deprecated.  Configure the serializer with mapper settings as required. | 
| RequestMessage | deserializeRequest(ByteBuf msg)Deprecated.  Deserialize a Netty  ByteBufinto aRequestMessage. | 
| ResponseMessage | deserializeResponse(ByteBuf msg)Deprecated.  Deserialize a Netty  ByteBufinto aResponseMessage. | 
| ByteBuf | serializeRequestAsBinary(RequestMessage requestMessage,
                        ByteBufAllocator allocator)Deprecated.  Serialize a  ResponseMessageto a NettyByteBuf. | 
| ByteBuf | serializeResponseAsBinary(ResponseMessage responseMessage,
                         ByteBufAllocator allocator)Deprecated.  Serialize a  ResponseMessageto a NettyByteBuf. | 
addIoRegistries, getListStringFromConfig, tryInstanceMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmimeTypesSupportedpublic static final String TOKEN_CUSTOM
public static final String TOKEN_SERIALIZE_RESULT_TO_STRING
public static final String TOKEN_BUFFER_SIZE
public static final String TOKEN_CLASS_RESOLVER_SUPPLIER
protected boolean serializeToString
public AbstractGryoMessageSerializerV1d0(GryoMapper kryo)
GryoMapper instance. Note that this instance
 will be overridden by configure(java.util.Map<java.lang.String, java.lang.Object>, java.util.Map<java.lang.String, org.apache.tinkerpop.gremlin.structure.Graph>) is called.public final void configure(Map<String,Object> config, Map<String,Graph> graphs)
MessageSerializerpublic ResponseMessage deserializeResponse(ByteBuf msg) throws SerializationException
MessageSerializerByteBuf into a ResponseMessage.SerializationExceptionpublic ByteBuf serializeResponseAsBinary(ResponseMessage responseMessage, ByteBufAllocator allocator) throws SerializationException
MessageSerializerResponseMessage to a Netty ByteBuf.responseMessage - The response message to serialize to bytes.allocator - The Netty allocator for the ByteBuf to return back.SerializationExceptionpublic RequestMessage deserializeRequest(ByteBuf msg) throws SerializationException
MessageSerializerByteBuf into a RequestMessage.SerializationExceptionpublic ByteBuf serializeRequestAsBinary(RequestMessage requestMessage, ByteBufAllocator allocator) throws SerializationException
MessageSerializerResponseMessage to a Netty ByteBuf.requestMessage - The request message to serialize to bytes.allocator - The Netty allocator for the ByteBuf to return back.SerializationExceptionCopyright © 2013–2019 Apache Software Foundation. All rights reserved.