org.mockserver.proxy.http.relay
Class ProxyRelayHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelDuplexHandler
org.mockserver.proxy.http.relay.ProxyRelayHandler
- All Implemented Interfaces:
- io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler
public class ProxyRelayHandler
- extends io.netty.channel.ChannelDuplexHandler
| Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler |
io.netty.channel.ChannelHandler.Sharable |
|
Constructor Summary |
ProxyRelayHandler(io.netty.channel.Channel relayChannel,
int bufferedCapacity,
Interceptor interceptor,
org.slf4j.Logger logger)
|
| Methods inherited from class io.netty.channel.ChannelDuplexHandler |
bind, close, connect, deregister, disconnect, flush, read, write |
| Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter |
channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered |
| Methods inherited from class io.netty.channel.ChannelHandlerAdapter |
isSharable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyRelayHandler
public ProxyRelayHandler(io.netty.channel.Channel relayChannel,
int bufferedCapacity,
Interceptor interceptor,
org.slf4j.Logger logger)
handlerAdded
public void handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
- Specified by:
handlerAdded in interface io.netty.channel.ChannelHandler- Overrides:
handlerAdded in class io.netty.channel.ChannelHandlerAdapter
- Throws:
Exception
handlerRemoved
public void handlerRemoved(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
- Specified by:
handlerRemoved in interface io.netty.channel.ChannelHandler- Overrides:
handlerRemoved in class io.netty.channel.ChannelHandlerAdapter
- Throws:
Exception
channelActive
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
- Specified by:
channelActive in interface io.netty.channel.ChannelInboundHandler- Overrides:
channelActive in class io.netty.channel.ChannelInboundHandlerAdapter
- Throws:
Exception
channelInactive
public void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
- Specified by:
channelInactive in interface io.netty.channel.ChannelInboundHandler- Overrides:
channelInactive 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
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
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
Copyright © 2014. All rights reserved.