public class HttpChannelizer extends AbstractChannelizer
Channelizer
that exposes an HTTP/REST endpoint in Gremlin Server.authenticator, graphManager, gremlinExecutor, gremlinExecutorService, PIPELINE_AUTHENTICATOR, PIPELINE_OP_EXECUTOR, PIPELINE_OP_SELECTOR, PIPELINE_RESULT_ITERATOR_HANDLER, PIPELINE_SSL, scheduledExecutorService, serializers, settings, sslContext
Constructor and Description |
---|
HttpChannelizer() |
Modifier and Type | Method and Description |
---|---|
void |
configure(ChannelPipeline pipeline)
This method is called from within
#initChannel(io.netty.channel.socket.SocketChannel) just after
the SSL handler is put in the pipeline. |
void |
finalize(ChannelPipeline pipeline)
This method is called after the pipeline is completely configured.
|
void |
init(ServerGremlinExecutor<EventLoopGroup> serverGremlinExecutor)
This method is called just after the
Channelizer is initialized. |
initChannel
public void init(ServerGremlinExecutor<EventLoopGroup> serverGremlinExecutor)
Channelizer
Channelizer
is initialized.init
in interface Channelizer
init
in class AbstractChannelizer
public void configure(ChannelPipeline pipeline)
AbstractChannelizer
#initChannel(io.netty.channel.socket.SocketChannel)
just after
the SSL handler is put in the pipeline. Modify the pipeline as needed here.configure
in class AbstractChannelizer
public void finalize(ChannelPipeline pipeline)
AbstractChannelizer
finalize
in class AbstractChannelizer
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.