org.apache.tinkerpop.gremlin.server.handler

## Class NioGremlinResponseFrameEncoder

- java.lang.Object
- - <any>
  - - org.apache.tinkerpop.gremlin.server.handler.NioGremlinResponseFrameEncoder

-     public class NioGremlinResponseFrameEncoder
      extends <any>

  Encodes `ByteBuf` and `String` values to bytes to be written over NIO.
  Author:
    Stephen Mallette (http://stephen.genoprime.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NioGremlinResponseFrameEncoder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `encode(ChannelHandlerContext ctx, Frame frame, ByteBuf byteBuf)`

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

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

- - ### Constructor Detail

    - #### NioGremlinResponseFrameEncoder

          public NioGremlinResponseFrameEncoder()

  - ### Method Detail

    - #### encode

          protected void encode(ChannelHandlerContext ctx,
                                Frame frame,
                                ByteBuf byteBuf)
                         throws Exception

      Throws:
        `Exception`

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