org.apache.tinkerpop.gremlin.server.handler

## Class HttpGremlinEndpointHandler

- java.lang.Object
- - ChannelInboundHandlerAdapter
  - - org.apache.tinkerpop.gremlin.server.handler.HttpGremlinEndpointHandler

-     public class HttpGremlinEndpointHandler
      extends ChannelInboundHandlerAdapter

  Handler that processes HTTP requests to the REST Gremlin endpoint.
  Author:
    Stephen Mallette (http://stephen.genoprime.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HttpGremlinEndpointHandler(Map<String,MessageSerializer> serializers, GremlinExecutor gremlinExecutor, GraphManager graphManager, Settings settings)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `channelRead(ChannelHandlerContext ctx, Object msg)`
    `void` | `exceptionCaught(ChannelHandlerContext ctx, Throwable cause)`
    `static Object` | `fromJsonNode(JsonNode node)`

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

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

- - ### Constructor Detail

    - #### HttpGremlinEndpointHandler

          public HttpGremlinEndpointHandler(Map<String,MessageSerializer> serializers,
                                            GremlinExecutor gremlinExecutor,
                                            GraphManager graphManager,
                                            Settings settings)

  - ### Method Detail

    - #### channelRead

          public void channelRead(ChannelHandlerContext ctx,
                                  Object msg)

    - #### exceptionCaught

          public void exceptionCaught(ChannelHandlerContext ctx,
                                      Throwable cause)

    - #### fromJsonNode

          public static Object fromJsonNode(JsonNode node)

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