Class HttpRequestEncoder
- java.lang.Object
-
- org.jboss.netty.handler.codec.oneone.OneToOneEncoder
-
- org.jboss.netty.handler.codec.http.HttpMessageEncoder
-
- org.jboss.netty.handler.codec.http.HttpRequestEncoder
-
- All Implemented Interfaces:
ChannelDownstreamHandler
,ChannelHandler
- Direct Known Subclasses:
HttpClientCodec.Encoder
public class HttpRequestEncoder extends HttpMessageEncoder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
-
Field Summary
Fields Modifier and Type Field Description private static char
QUESTION_MARK
private static char
SLASH
-
Constructor Summary
Constructors Constructor Description HttpRequestEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
encodeInitialLine(ChannelBuffer buf, HttpMessage message)
-
Methods inherited from class org.jboss.netty.handler.codec.http.HttpMessageEncoder
encode, encodeAscii
-
Methods inherited from class org.jboss.netty.handler.codec.oneone.OneToOneEncoder
doEncode, handleDownstream
-
-
-
-
Field Detail
-
SLASH
private static final char SLASH
- See Also:
- Constant Field Values
-
QUESTION_MARK
private static final char QUESTION_MARK
- See Also:
- Constant Field Values
-
-
Method Detail
-
encodeInitialLine
protected void encodeInitialLine(ChannelBuffer buf, HttpMessage message) throws java.lang.Exception
- Specified by:
encodeInitialLine
in classHttpMessageEncoder
- Throws:
java.lang.Exception
-
-