public class WsAndHttpChannelizer extends AbstractChannelizer
authenticator, DEFAULT_SERIALIZERS, graphManager, GREMLIN_ENDPOINT, gremlinExecutor, gremlinExecutorService, PIPELINE_AUTHENTICATOR, PIPELINE_HTTP_REQUEST_DECODER, PIPELINE_HTTP_RESPONSE_ENCODER, PIPELINE_OP_EXECUTOR, PIPELINE_OP_SELECTOR, PIPELINE_REQUEST_HANDLER, PIPELINE_SSL, scheduledExecutorService, serializers, settings, sslContext| Constructor and Description |
|---|
WsAndHttpChannelizer() |
| 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. |
Object |
createIdleDetectionMessage()
Create a message to send to seemingly dead clients to see if they respond back.
|
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, finalize, initChannelpublic void init(ServerGremlinExecutor serverGremlinExecutor)
ChannelizerChannelizer is initialized.init in interface Channelizerinit in class AbstractChannelizerpublic 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 AbstractChannelizerpublic boolean supportsIdleMonitor()
Channelizerpublic Object createIdleDetectionMessage()
ChannelizerChannelizer.supportsIdleMonitor() is true.Copyright © 2013–2018 Apache Software Foundation. All rights reserved.