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, writeprint, print, print, print, print, print, println, println, println, println, println, println, println, printlnwritepublic static Logger LOG
public GzipHttpOutput(HttpChannel<?> channel)
public void reset()
reset in class HttpOutputprotected void write(ByteBuffer content, boolean complete, Callback callback)
write in class HttpOutputprotected 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.