Class UnifiedChannelizer
- 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.UnifiedChannelizer
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler,Channelizer
@Deprecated public class UnifiedChannelizer extends AbstractChannelizer
Deprecated.As of release 3.8.0, not replaced.AChannelizerthat supports websocket and HTTP requests and does so with the most streamlined processing model for Gremlin Server introduced with 3.5.0.
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringPIPELINE_UNIFIEDDeprecated.-
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_OP_EXECUTOR, PIPELINE_OP_SELECTOR, PIPELINE_REQUEST_HANDLER, PIPELINE_SSL, PIPELINE_WEBSOCKET_SERVER_COMPRESSION, scheduledExecutorService, serializers, settings, sslContext
-
-
Constructor Summary
Constructors Constructor Description UnifiedChannelizer()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidconfigure(io.netty.channel.ChannelPipeline pipeline)Deprecated.This method is called from withinAbstractChannelizer.initChannel(SocketChannel)just after the SSL handler is put in the pipeline.ObjectcreateIdleDetectionMessage()Deprecated.Create a message to send to seemingly dead clients to see if they respond back.voidfinalize(io.netty.channel.ChannelPipeline pipeline)Deprecated.This method is called after the pipeline is completely configured.UnifiedHandlergetUnifiedHandler()Deprecated.voidinit(ServerGremlinExecutor serverGremlinExecutor)Deprecated.This method is called just after theChannelizeris initialized.booleansupportsIdleMonitor()Deprecated.Determines if the channelizer supports a method for keeping the connection alive and auto-closing zombie channels.-
Methods inherited from class org.apache.tinkerpop.gremlin.server.AbstractChannelizer
createAuthenticationHandler, initChannel
-
Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
-
-
-
-
Field Detail
-
PIPELINE_UNIFIED
protected static final String PIPELINE_UNIFIED
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(ServerGremlinExecutor serverGremlinExecutor)
Deprecated.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)
Deprecated.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
-
finalize
public void finalize(io.netty.channel.ChannelPipeline pipeline)
Deprecated.Description copied from class:AbstractChannelizerThis method is called after the pipeline is completely configured. It can be overridden to make any final changes to the pipeline before it goes into use.- Overrides:
finalizein classAbstractChannelizer
-
getUnifiedHandler
public UnifiedHandler getUnifiedHandler()
Deprecated.
-
supportsIdleMonitor
public boolean supportsIdleMonitor()
Deprecated.Description copied from interface:ChannelizerDetermines if the channelizer supports a method for keeping the connection alive and auto-closing zombie channels.
-
createIdleDetectionMessage
public Object createIdleDetectionMessage()
Deprecated.Description copied from interface:ChannelizerCreate a message to send to seemingly dead clients to see if they respond back. The message sent will be dependent on the implementation. For example, a websocket implementation would create a "ping" message. This method will only be used ifChannelizer.supportsIdleMonitor()istrue.
-
-