Class HttpClientChannelHandler

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

    public class HttpClientChannelHandler
    extends org.apache.camel.component.netty.handlers.ClientChannelHandler
    Netty HTTP ClientChannelHandler that handles the response combing back from the HTTP server, called by this client.
    • Nested Class Summary

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.camel.Message getResponseMessage​(org.apache.camel.Exchange exchange, io.netty.channel.ChannelHandlerContext ctx, Object message)  
      • Methods inherited from class org.apache.camel.component.netty.handlers.ClientChannelHandler

        channelActive, channelInactive, channelRead0, channelReadComplete, exceptionCaught
      • Methods inherited from class io.netty.channel.SimpleChannelInboundHandler

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

        channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
      • Methods inherited from class io.netty.channel.ChannelHandlerAdapter

        ensureNotSharable, handlerAdded, handlerRemoved, isSharable
      • Methods inherited from interface io.netty.channel.ChannelHandler

        handlerAdded, handlerRemoved
    • Constructor Detail

      • HttpClientChannelHandler

        public HttpClientChannelHandler​(NettyHttpProducer producer)
    • Method Detail

      • getResponseMessage

        protected org.apache.camel.Message getResponseMessage​(org.apache.camel.Exchange exchange,
                                                              io.netty.channel.ChannelHandlerContext ctx,
                                                              Object message)
                                                       throws Exception
        Overrides:
        getResponseMessage in class org.apache.camel.component.netty.handlers.ClientChannelHandler
        Throws:
        Exception