org.apache.camel.component.netty.http.handlers
Class HttpClientChannelHandler
java.lang.Object
org.jboss.netty.channel.SimpleChannelUpstreamHandler
org.apache.camel.component.netty.handlers.ClientChannelHandler
org.apache.camel.component.netty.http.handlers.HttpClientChannelHandler
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler
public class HttpClientChannelHandler
- extends org.apache.camel.component.netty.handlers.ClientChannelHandler
Netty HTTP ClientChannelHandler
that handles the response combing
back from thhe HTTP server, called by this client.
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler |
org.jboss.netty.channel.ChannelHandler.Sharable |
Method Summary |
protected org.apache.camel.Message |
getResponseMessage(org.apache.camel.Exchange exchange,
org.jboss.netty.channel.MessageEvent messageEvent)
|
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent messageEvent)
|
Methods inherited from class org.apache.camel.component.netty.handlers.ClientChannelHandler |
channelClosed, channelOpen, exceptionCaught |
Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler |
channelBound, channelConnected, channelDisconnected, channelInterestChanged, channelUnbound, childChannelClosed, childChannelOpen, handleUpstream, writeComplete |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpClientChannelHandler
public HttpClientChannelHandler(NettyHttpProducer producer)
messageReceived
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent messageEvent)
throws Exception
- Overrides:
messageReceived
in class org.apache.camel.component.netty.handlers.ClientChannelHandler
- Throws:
Exception
getResponseMessage
protected org.apache.camel.Message getResponseMessage(org.apache.camel.Exchange exchange,
org.jboss.netty.channel.MessageEvent messageEvent)
throws Exception
- Overrides:
getResponseMessage
in class org.apache.camel.component.netty.handlers.ClientChannelHandler
- Throws:
Exception
Apache Camel