public class HttpChannelizer extends AbstractChannelizer
Channelizer
that exposes an HTTP endpoint in Gremlin Server.authenticator, authorizer, DEFAULT_SERIALIZERS, graphManager, GREMLIN_ENDPOINT, gremlinExecutor, gremlinExecutorService, PIPELINE_AUTHENTICATOR, PIPELINE_AUTHORIZER, PIPELINE_HTTP_AGGREGATOR, PIPELINE_HTTP_REQUEST_DECODER, PIPELINE_HTTP_RESPONSE_ENCODER, PIPELINE_OP_EXECUTOR, PIPELINE_OP_SELECTOR, PIPELINE_REQUEST_HANDLER, PIPELINE_SSL, PIPELINE_WEBSOCKET_SERVER_COMPRESSION, scheduledExecutorService, serializers, settings, sslContext
Constructor and Description |
---|
HttpChannelizer() |
Modifier and Type | Method and Description |
---|---|
void |
configure(io.netty.channel.ChannelPipeline pipeline)
This method is called from within
AbstractChannelizer.initChannel(SocketChannel) just after the SSL handler is put in the pipeline. |
void |
finalize(io.netty.channel.ChannelPipeline pipeline)
This method is called after the pipeline is completely configured.
|
void |
init(ServerGremlinExecutor serverGremlinExecutor)
This method is called just after the
Channelizer is initialized. |
createAuthenticationHandler, initChannel
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createIdleDetectionMessage, supportsIdleMonitor
public void init(ServerGremlinExecutor serverGremlinExecutor)
Channelizer
Channelizer
is initialized.init
in interface Channelizer
init
in class AbstractChannelizer
public void configure(io.netty.channel.ChannelPipeline pipeline)
AbstractChannelizer
AbstractChannelizer.initChannel(SocketChannel)
just after the SSL handler is put in the pipeline.
Modify the pipeline as needed here.configure
in class AbstractChannelizer
public void finalize(io.netty.channel.ChannelPipeline pipeline)
AbstractChannelizer
finalize
in class AbstractChannelizer
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.