public class UnifiedChannelizer extends AbstractChannelizer
Channelizer that supports websocket and HTTP requests and does so with the most streamlined processing
model for Gremlin Server introduced with 3.5.0.| Modifier and Type | Field and Description |
|---|---|
protected static String |
PIPELINE_UNIFIED |
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 |
|---|
UnifiedChannelizer() |
| 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. |
Object |
createIdleDetectionMessage()
Create a message to send to seemingly dead clients to see if they respond back.
|
void |
finalize(io.netty.channel.ChannelPipeline pipeline)
This method is called after the pipeline is completely configured.
|
UnifiedHandler |
getUnifiedHandler() |
void |
init(ServerGremlinExecutor serverGremlinExecutor)
This method is called just after the
Channelizer is initialized. |
boolean |
supportsIdleMonitor()
Determines if the channelizer supports a method for keeping the connection alive and auto-closing zombie
channels.
|
createAuthenticationHandler, initChannelchannelRegistered, exceptionCaught, handlerAdded, handlerRemovedchannelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredprotected static final String PIPELINE_UNIFIED
public void init(ServerGremlinExecutor serverGremlinExecutor)
ChannelizerChannelizer is initialized.init in interface Channelizerinit in class AbstractChannelizerpublic void configure(io.netty.channel.ChannelPipeline pipeline)
AbstractChannelizerAbstractChannelizer.initChannel(SocketChannel) just after the SSL handler is put in the pipeline.
Modify the pipeline as needed here.configure in class AbstractChannelizerpublic void finalize(io.netty.channel.ChannelPipeline pipeline)
AbstractChannelizerfinalize in class AbstractChannelizerpublic UnifiedHandler getUnifiedHandler()
public boolean supportsIdleMonitor()
Channelizerpublic Object createIdleDetectionMessage()
ChannelizerChannelizer.supportsIdleMonitor() is true.Copyright © 2013–2022 Apache Software Foundation. All rights reserved.