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
 
 public static final class Channelizer.HttpChannelizer extends Channelizer.AbstractChannelizer 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 suchtx()(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.ChannelHandlerio.netty.channel.ChannelHandler.Sharable
 - 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.driver.ChannelizerChannelizer.AbstractChannelizer, Channelizer.HttpChannelizer
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static org.apache.tinkerpop.gremlin.util.message.ResponseMessageLAST_CONTENT_READ_RESPONSEThis 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.AbstractChannelizercluster, connection, 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_SSL_HANDLER, sslHandler
 
- 
 - 
Constructor SummaryConstructors Constructor Description HttpChannelizer()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(io.netty.channel.ChannelPipeline pipeline)voidconnected()Called after the channel connects.voidinit(org.apache.tinkerpop.gremlin.driver.Connection connection)Initializes theChannelizer.booleansupportsSsl()- 
Methods inherited from class org.apache.tinkerpop.gremlin.driver.Channelizer.AbstractChannelizerclose, finalize, initChannel
 - 
Methods inherited from class io.netty.channel.ChannelInitializerchannelRegistered, exceptionCaught, handlerAdded, handlerRemoved
 - 
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapterchannelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.driver.ChannelizergetScheme
 
- 
 
- 
- 
- 
Method Detail- 
initpublic void init(org.apache.tinkerpop.gremlin.driver.Connection connection) Description copied from interface:ChannelizerInitializes theChannelizer. Called just after construction.- Specified by:
- initin interface- Channelizer
- Overrides:
- initin class- Channelizer.AbstractChannelizer
 
 - 
connectedpublic void connected() Description copied from interface:ChannelizerCalled after the channel connects. TheChannelizermay need to perform some functions, such as a handshake.- Specified by:
- connectedin interface- Channelizer
- Overrides:
- connectedin class- Channelizer.AbstractChannelizer
 
 - 
supportsSslpublic boolean supportsSsl() - Overrides:
- supportsSslin class- Channelizer.AbstractChannelizer
 
 - 
configurepublic void configure(io.netty.channel.ChannelPipeline pipeline) - Specified by:
- configurein class- Channelizer.AbstractChannelizer
 
 
- 
 
-