Package uk.gov.gchq.gaffer.rest.handler
Class GremlinWebSocketHandler
- java.lang.Object
-
- org.springframework.web.socket.handler.AbstractWebSocketHandler
-
- org.springframework.web.socket.handler.BinaryWebSocketHandler
-
- uk.gov.gchq.gaffer.rest.handler.GremlinWebSocketHandler
-
- All Implemented Interfaces:
org.springframework.web.socket.WebSocketHandler
public class GremlinWebSocketHandler extends org.springframework.web.socket.handler.BinaryWebSocketHandler
Websocket handler for accepting and responding to Gremlin queries. This enables an endpoint that acts like a Gremlin server which will run requests on the current Gaffer graph via the GafferPop library.
-
-
Constructor Summary
Constructors Constructor Description GremlinWebSocketHandler(org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource g, AbstractUserFactory userFactory, Long requestTimeout)
Constructor
-
-
-
Constructor Detail
-
GremlinWebSocketHandler
public GremlinWebSocketHandler(org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource g, AbstractUserFactory userFactory, Long requestTimeout)
Constructor- Parameters:
g
- The graph traversal sourceuserFactory
- The user factoryrequestTimeout
- The timeout for gremlin requests
-
-