ch.mimo.netty.handler.codec.icap
Class IcapRequestDecoder
java.lang.Object
org.jboss.netty.channel.SimpleChannelUpstreamHandler
org.jboss.netty.handler.codec.replay.ReplayingDecoder<StateEnum>
ch.mimo.netty.handler.codec.icap.IcapMessageDecoder
ch.mimo.netty.handler.codec.icap.IcapRequestDecoder
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler
public class IcapRequestDecoder
- extends IcapMessageDecoder
Decodes an ICAP Request into @see IcapRequest
instance.
- Author:
- Michael Mimo Moratti (mimo@mimo.ch)
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler |
org.jboss.netty.channel.ChannelHandler.Sharable |
Methods inherited from class org.jboss.netty.handler.codec.replay.ReplayingDecoder |
actualReadableBytes, channelClosed, channelDisconnected, checkpoint, checkpoint, decodeLast, exceptionCaught, getState, internalBuffer, messageReceived, setState |
Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler |
channelBound, channelConnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, handleUpstream, writeComplete |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IcapRequestDecoder
public IcapRequestDecoder()
IcapRequestDecoder
public IcapRequestDecoder(int maxInitialLineLength,
int maxIcapHeaderSize,
int maxHttpHeaderSize,
int maxChunkSize)
- Parameters:
maxInitialLineLength
- maxIcapHeaderSize
- maxHttpHeaderSize
- maxChunkSize
- - See Also:
IcapMessageDecoder constructor for more details.
createMessage
protected IcapRequest createMessage(String[] initialLine)
- Specified by:
createMessage
in class IcapMessageDecoder
isDecodingResponse
public boolean isDecodingResponse()
- Specified by:
isDecodingResponse
in class IcapMessageDecoder
Copyright © 2011. All Rights Reserved.