org.apache.tinkerpop.gremlin.server.handler

## Class GremlinResponseFrameEncoder

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

-     public class GremlinResponseFrameEncoder
      extends <any>

  Ensures that any `ResponseMessage` manages to get converted to a `Frame`. By converting to `Frame` downstream protocols can treat the generic `Frame` any way it wants (e.g. write it back as a byte array, websocket frame, etc).
  Author:
    Stephen Mallette (http://stephen.genoprime.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GremlinResponseFrameEncoder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `encode(ChannelHandlerContext ctx, ResponseMessage o, List<Object> objects)`

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

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

- - ### Constructor Detail

    - #### GremlinResponseFrameEncoder

          public GremlinResponseFrameEncoder()

  - ### Method Detail

    - #### encode

          protected void encode(ChannelHandlerContext ctx,
                                ResponseMessage o,
                                List<Object> objects)
                         throws Exception

      Throws:
        `Exception`

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