org.mockserver.proxy.http
Class ProxyUnificationHandler

java.lang.Object
  extended by io.netty.channel.ChannelHandlerAdapter
      extended by io.netty.channel.ChannelInboundHandlerAdapter
          extended by io.netty.handler.codec.ByteToMessageDecoder
              extended by org.mockserver.proxy.http.ProxyUnificationHandler
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

public class ProxyUnificationHandler
extends io.netty.handler.codec.ByteToMessageDecoder

Author:
jamesdbloom

Nested Class Summary
 
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
ProxyUnificationHandler(int port)
           
 
Method Summary
protected  void decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf msg, List<Object> out)
           
 
Methods inherited from class io.netty.handler.codec.ByteToMessageDecoder
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setSingleDecode
 
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
 
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
handlerAdded, 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
 

Constructor Detail

ProxyUnificationHandler

public ProxyUnificationHandler(int port)
Method Detail

decode

protected void decode(io.netty.channel.ChannelHandlerContext ctx,
                      io.netty.buffer.ByteBuf msg,
                      List<Object> out)
               throws Exception
Specified by:
decode in class io.netty.handler.codec.ByteToMessageDecoder
Throws:
Exception


Copyright © 2014. All rights reserved.