Class Channelizer.HttpChannelizer
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
org.apache.tinkerpop.gremlin.driver.Channelizer.AbstractChannelizer
org.apache.tinkerpop.gremlin.driver.Channelizer.HttpChannelizer
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler,Channelizer
- Enclosing interface:
- Channelizer
Sends requests over the HTTP endpoint. Client functionality is governed by the limitations of the HTTP endpoint,
meaning that sessions are not available and as such
tx() (i.e. transactions) are not available over this
channelizer. Only sessionless requests are possible.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.SharableNested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.driver.Channelizer
Channelizer.AbstractChannelizer, Channelizer.HttpChannelizer -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.tinkerpop.gremlin.util.message.ResponseMessageThis response is used as a signal for determining if all content of the response has been read.Fields inherited from class org.apache.tinkerpop.gremlin.driver.Channelizer.AbstractChannelizer
cluster, connection, pending, PIPELINE_GREMLIN_HANDLER, PIPELINE_HTTP_AGGREGATOR, PIPELINE_HTTP_CODEC, PIPELINE_HTTP_DECODER, PIPELINE_HTTP_DECOMPRESSION_HANDLER, PIPELINE_HTTP_ENCODER, PIPELINE_IDLE_CONNECTION_HANDLER, PIPELINE_IDLE_STATE_HANDLER, PIPELINE_PROXY_HANDLER, PIPELINE_READ_TIMEOUT_HANDLER, PIPELINE_SSL_HANDLER, sslHandler -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.tinkerpop.gremlin.driver.Channelizer.AbstractChannelizer
close, finalize, initChannelMethods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemovedMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandler
handlerAdded, handlerRemovedMethods inherited from interface org.apache.tinkerpop.gremlin.driver.Channelizer
getScheme
-
Field Details
-
LAST_CONTENT_READ_RESPONSE
public static final org.apache.tinkerpop.gremlin.util.message.ResponseMessage LAST_CONTENT_READ_RESPONSEThis response is used as a signal for determining if all content of the response has been read.
-
-
Constructor Details
-
HttpChannelizer
public HttpChannelizer()
-
-
Method Details
-
init
public void init(org.apache.tinkerpop.gremlin.driver.Connection connection) Description copied from interface:ChannelizerInitializes theChannelizer. Called just after construction.- Specified by:
initin interfaceChannelizer- Overrides:
initin classChannelizer.AbstractChannelizer
-
connected
public void connected()Description copied from interface:ChannelizerCalled after the channel connects. TheChannelizermay need to perform some functions, such as a handshake.- Specified by:
connectedin interfaceChannelizer- Overrides:
connectedin classChannelizer.AbstractChannelizer
-
supportsSsl
public boolean supportsSsl()- Overrides:
supportsSslin classChannelizer.AbstractChannelizer
-
configure
public void configure(io.netty.channel.ChannelPipeline pipeline) - Specified by:
configurein classChannelizer.AbstractChannelizer
-