org.apache.cxf.transport.http.netty.client
Class NettyHttpClientHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelDuplexHandler
org.apache.cxf.transport.http.netty.client.NettyHttpClientHandler
- All Implemented Interfaces:
- io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler
public class NettyHttpClientHandler
- extends io.netty.channel.ChannelDuplexHandler
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler |
io.netty.channel.ChannelHandler.Sharable |
Methods inherited from class io.netty.channel.ChannelDuplexHandler |
bind, close, connect, deregister, disconnect, flush, read |
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter |
channelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered |
Methods inherited from class io.netty.channel.ChannelHandlerAdapter |
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 |
NettyHttpClientHandler
public NettyHttpClientHandler()
channelRead
public void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
- Specified by:
channelRead
in interface io.netty.channel.ChannelInboundHandler
- Overrides:
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
- Throws:
Exception
write
public void write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise)
throws Exception
- Specified by:
write
in interface io.netty.channel.ChannelOutboundHandler
- Overrides:
write
in class io.netty.channel.ChannelDuplexHandler
- Throws:
Exception
exceptionCaught
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
- Specified by:
exceptionCaught
in interface io.netty.channel.ChannelHandler
- Specified by:
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
- Overrides:
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
- Throws:
Exception
channelReadComplete
public void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
- Specified by:
channelReadComplete
in interface io.netty.channel.ChannelInboundHandler
- Overrides:
channelReadComplete
in class io.netty.channel.ChannelInboundHandlerAdapter
- Throws:
Exception
Apache CXF