Class HttpClientChannelHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.SimpleChannelInboundHandler<Object>
-
- org.apache.camel.component.netty.handlers.ClientChannelHandler
-
- org.apache.camel.component.netty.http.handlers.HttpClientChannelHandler
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
public class HttpClientChannelHandler extends org.apache.camel.component.netty.handlers.ClientChannelHandler
Netty HTTPClientChannelHandler
that handles the response combing back from the HTTP server, called by this client.
-
-
Constructor Summary
Constructors Constructor Description HttpClientChannelHandler(NettyHttpProducer producer)
-
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
-
-
-
-
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 classorg.apache.camel.component.netty.handlers.ClientChannelHandler
- Throws:
Exception
-
-