Class S3ResponseHandler<I extends com.emc.mongoose.base.item.Item,​O extends com.emc.mongoose.base.item.op.Operation<I>>

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

    public final class S3ResponseHandler<I extends com.emc.mongoose.base.item.Item,​O extends com.emc.mongoose.base.item.op.Operation<I>>
    extends com.emc.mongoose.storage.driver.coop.netty.http.HttpResponseHandlerBase<I,​O>
    Created by andrey on 25.11.16.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

        io.netty.channel.ChannelHandler.Sharable
    • Field Summary

      • Fields inherited from class com.emc.mongoose.storage.driver.coop.netty.ResponseHandlerBase

        driver, verifyFlag
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void handleResponseContentChunk​(io.netty.channel.Channel channel, O op, io.netty.buffer.ByteBuf contentChunk)  
      protected void handleResponseContentFinish​(io.netty.channel.Channel channel, O op)  
      protected void handleResponseHeaders​(io.netty.channel.Channel channel, O op, io.netty.handler.codec.http.HttpHeaders respHeaders)  
      • Methods inherited from class com.emc.mongoose.storage.driver.coop.netty.http.HttpResponseHandlerBase

        handle, handleResponseStatus
      • Methods inherited from class com.emc.mongoose.storage.driver.coop.netty.ResponseHandlerBase

        channelRead0, exceptionCaught, userEventTriggered
      • Methods inherited from class io.netty.channel.SimpleChannelInboundHandler

        acceptInboundMessage, channelRead
      • Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter

        channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged
      • Methods inherited from class io.netty.channel.ChannelHandlerAdapter

        ensureNotSharable, handlerAdded, handlerRemoved, isSharable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.netty.channel.ChannelHandler

        handlerAdded, handlerRemoved
    • Constructor Detail

      • S3ResponseHandler

        public S3ResponseHandler​(S3StorageDriver<I,​O> driver,
                                 boolean verifyFlag)
    • Method Detail

      • handleResponseHeaders

        protected final void handleResponseHeaders​(io.netty.channel.Channel channel,
                                                   O op,
                                                   io.netty.handler.codec.http.HttpHeaders respHeaders)
        Specified by:
        handleResponseHeaders in class com.emc.mongoose.storage.driver.coop.netty.http.HttpResponseHandlerBase<I extends com.emc.mongoose.base.item.Item,​O extends com.emc.mongoose.base.item.op.Operation<I>>
      • handleResponseContentChunk

        protected final void handleResponseContentChunk​(io.netty.channel.Channel channel,
                                                        O op,
                                                        io.netty.buffer.ByteBuf contentChunk)
                                                 throws java.io.IOException
        Overrides:
        handleResponseContentChunk in class com.emc.mongoose.storage.driver.coop.netty.http.HttpResponseHandlerBase<I extends com.emc.mongoose.base.item.Item,​O extends com.emc.mongoose.base.item.op.Operation<I>>
        Throws:
        java.io.IOException
      • handleResponseContentFinish

        protected final void handleResponseContentFinish​(io.netty.channel.Channel channel,
                                                         O op)
        Overrides:
        handleResponseContentFinish in class com.emc.mongoose.storage.driver.coop.netty.http.HttpResponseHandlerBase<I extends com.emc.mongoose.base.item.Item,​O extends com.emc.mongoose.base.item.op.Operation<I>>