ch.mimo.netty.handler.codec.icap
Class IcapResponseEncoder

java.lang.Object
  extended by org.jboss.netty.handler.codec.oneone.OneToOneEncoder
      extended by ch.mimo.netty.handler.codec.icap.IcapMessageEncoder
          extended by ch.mimo.netty.handler.codec.icap.IcapResponseEncoder
All Implemented Interfaces:
org.jboss.netty.channel.ChannelDownstreamHandler, org.jboss.netty.channel.ChannelHandler

public class IcapResponseEncoder
extends IcapMessageEncoder

ICAP Response encoder which takes an @see IcapResponse or @see IcapChunk to encode.

Author:
Michael Mimo Moratti (mimo@mimo.ch)

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
org.jboss.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
IcapResponseEncoder()
           
 
Method Summary
protected  int encodeInitialLine(org.jboss.netty.buffer.ChannelBuffer buffer, IcapMessage message)
           
 
Methods inherited from class ch.mimo.netty.handler.codec.icap.IcapMessageEncoder
encode
 
Methods inherited from class org.jboss.netty.handler.codec.oneone.OneToOneEncoder
handleDownstream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IcapResponseEncoder

public IcapResponseEncoder()
Method Detail

encodeInitialLine

protected int encodeInitialLine(org.jboss.netty.buffer.ChannelBuffer buffer,
                                IcapMessage message)
Specified by:
encodeInitialLine in class IcapMessageEncoder


Copyright © 2011. All Rights Reserved.