org.apache.tinkerpop.gremlin.driver.handler

## Class NioGremlinRequestEncoder

- java.lang.Object
- - <any>
  - - org.apache.tinkerpop.gremlin.driver.handler.NioGremlinRequestEncoder

-     public final class NioGremlinRequestEncoder
      extends <any>

  Author:
    Stephen Mallette (http://stephen.genoprime.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NioGremlinRequestEncoder(boolean binaryEncoding, MessageSerializer serializer)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `encode(ChannelHandlerContext channelHandlerContext, Object msg, ByteBuf byteBuf)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NioGremlinRequestEncoder

          public NioGremlinRequestEncoder(boolean binaryEncoding,
                                          MessageSerializer serializer)

  - ### Method Detail

    - #### encode

          protected void encode(ChannelHandlerContext channelHandlerContext,
                                Object msg,
                                ByteBuf byteBuf)
                         throws Exception

      Throws:
        `Exception`

Copyright © 2013–2019 Apache Software Foundation. All rights reserved.