|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.netty.channel.SimpleChannelUpstreamHandler
org.jboss.netty.handler.codec.http2.HttpContentDecoder
org.jboss.netty.handler.codec.http2.HttpContentDecompressor
public class HttpContentDecompressor

Decompresses an HttpMessage and an HttpChunk compressed in
gzip or deflate encoding. For more information on how this
handler modifies the message, please refer to HttpContentDecoder.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler |
|---|
org.jboss.netty.channel.ChannelHandler.Sharable |
| Constructor Summary | |
|---|---|
HttpContentDecompressor()
|
|
| Method Summary | |
|---|---|
protected org.jboss.netty.handler.codec.embedder.DecoderEmbedder<org.jboss.netty.buffer.ChannelBuffer> |
newContentDecoder(String contentEncoding)
Returns a new DecoderEmbedder that decodes the HTTP message
content encoded in the specified contentEncoding. |
| Methods inherited from class org.jboss.netty.handler.codec.http2.HttpContentDecoder |
|---|
getTargetContentEncoding, messageReceived |
| Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler |
|---|
channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, exceptionCaught, handleUpstream, writeComplete |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpContentDecompressor()
| Method Detail |
|---|
protected org.jboss.netty.handler.codec.embedder.DecoderEmbedder<org.jboss.netty.buffer.ChannelBuffer> newContentDecoder(String contentEncoding)
throws Exception
HttpContentDecoderDecoderEmbedder that decodes the HTTP message
content encoded in the specified contentEncoding.
newContentDecoder in class HttpContentDecodercontentEncoding - the value of the "Content-Encoding" header
DecoderEmbedder if the specified encoding is supported.
null otherwise (alternatively, you can throw an exception
to block unknown encoding).
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||