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 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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 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 Details
-
HttpClientChannelHandler
-
-
Method Details
-
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
-