org.jboss.netty.handler.codec.http2
Class HttpRequestEncoder

java.lang.Object
  extended by org.jboss.netty.handler.codec.oneone.OneToOneEncoder
      extended by org.jboss.netty.handler.codec.http2.HttpMessageEncoder
          extended by org.jboss.netty.handler.codec.http2.HttpRequestEncoder
All Implemented Interfaces:
org.jboss.netty.channel.ChannelDownstreamHandler, org.jboss.netty.channel.ChannelHandler

public class HttpRequestEncoder
extends HttpMessageEncoder

Encodes an HttpRequest or an HttpChunk into a ChannelBuffer.

Version:
$Rev: 619 $, $Date: 2010-11-11 20:30:06 +0100 (jeu., 11 nov. 2010) $
Author:
The Netty Project, Andy Taylor (andy.taylor@jboss.org), Trustin Lee

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
org.jboss.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
HttpRequestEncoder()
          Creates a new instance.
 
Method Summary
protected  void encodeInitialLine(org.jboss.netty.buffer.ChannelBuffer buf, HttpMessage message)
           
 
Methods inherited from class org.jboss.netty.handler.codec.http2.HttpMessageEncoder
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

HttpRequestEncoder

public HttpRequestEncoder()
Creates a new instance.

Method Detail

encodeInitialLine

protected void encodeInitialLine(org.jboss.netty.buffer.ChannelBuffer buf,
                                 HttpMessage message)
                          throws Exception
Specified by:
encodeInitialLine in class HttpMessageEncoder
Throws:
Exception


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.