Class HttpContentDecompressionHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- org.apache.tinkerpop.gremlin.driver.handler.HttpContentDecompressionHandler
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
@Sharable public class HttpContentDecompressionHandler extends io.netty.channel.ChannelInboundHandlerAdapter
Handles decompression of content when the response contains the "Content-Encoding" header. Currently supports "deflate". This class is specifically meant to work with serialized GraphBinary chunks as they need to be inflated per chunk such that the chunk ends with a Marker.END_OF_STREAM.
-
-
Constructor Summary
Constructors Constructor Description HttpContentDecompressionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)
-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
-