public class GzipHttpOutput extends HttpOutput
Constructor and Description |
---|
GzipHttpOutput(HttpChannel<?> channel) |
Modifier and Type | Method and Description |
---|---|
protected void |
commit(ByteBuffer content,
boolean complete,
Callback callback) |
boolean |
mightCompress() |
void |
mightCompress(GzipFactory factory) |
void |
noCompression() |
void |
noCompressionIfPossible() |
void |
reset() |
protected void |
write(ByteBuffer content,
boolean complete,
Callback callback) |
acquireWriteBlockingCallback, close, flush, getBufferSize, getHttpChannel, getWritten, isAllContentWritten, isClosed, isReady, isWritten, print, reopen, resetBuffer, run, sendContent, sendContent, sendContent, sendContent, sendContent, sendContent, sendContent, sendContent, setBufferSize, setWriteListener, toString, write, write, write, write
print, print, print, print, print, print, println, println, println, println, println, println, println, println
write
public static Logger LOG
public GzipHttpOutput(HttpChannel<?> channel)
public void reset()
reset
in class HttpOutput
protected void write(ByteBuffer content, boolean complete, Callback callback)
write
in class HttpOutput
protected void commit(ByteBuffer content, boolean complete, Callback callback)
public void noCompression()
public void noCompressionIfPossible()
public boolean mightCompress()
public void mightCompress(GzipFactory factory)
Copyright © 1995-2015 Webtide. All Rights Reserved.