Class HttpChannelizer
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
org.apache.tinkerpop.gremlin.server.AbstractChannelizer
org.apache.tinkerpop.gremlin.server.channel.HttpChannelizer
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler,Channelizer
Constructs a
Channelizer that exposes an HTTP endpoint in Gremlin Server.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Field Summary
Fields inherited from class org.apache.tinkerpop.gremlin.server.AbstractChannelizer
authenticator, authorizer, channels, DEFAULT_SERIALIZERS, graphManager, GREMLIN_ENDPOINT, gremlinExecutor, gremlinExecutorService, PIPELINE_AUTHENTICATOR, PIPELINE_AUTHORIZER, PIPELINE_HTTP_AGGREGATOR, PIPELINE_HTTP_REQUEST_DECODER, PIPELINE_HTTP_RESPONSE_ENCODER, PIPELINE_HTTP_USER_AGENT_HANDLER, PIPELINE_REQUEST_HANDLER, PIPELINE_SSL, scheduledExecutorService, serializers, settings, sslContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(io.netty.channel.ChannelPipeline pipeline) This method is called from withinAbstractChannelizer.initChannel(SocketChannel)just after the SSL handler is put in the pipeline.voidinit(ServerGremlinExecutor serverGremlinExecutor) This method is called just after theChannelizeris initialized.Methods inherited from class org.apache.tinkerpop.gremlin.server.AbstractChannelizer
createAuthenticationHandler, initChannelMethods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemovedMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandler
handlerAdded, handlerRemovedMethods inherited from interface org.apache.tinkerpop.gremlin.server.Channelizer
createIdleDetectionMessage, supportsIdleMonitor
-
Constructor Details
-
HttpChannelizer
public HttpChannelizer()
-
-
Method Details
-
init
Description copied from interface:ChannelizerThis method is called just after theChannelizeris initialized.- Specified by:
initin interfaceChannelizer- Overrides:
initin classAbstractChannelizer
-
configure
public void configure(io.netty.channel.ChannelPipeline pipeline) Description copied from class:AbstractChannelizerThis method is called from withinAbstractChannelizer.initChannel(SocketChannel)just after the SSL handler is put in the pipeline. Modify the pipeline as needed here.- Specified by:
configurein classAbstractChannelizer
-