public class GZIPResponseWrapper
extends HttpServletResponseWrapper
| Modifier and Type | Field and Description |
|---|---|
protected HttpServletResponse |
origResponse |
protected ServletOutputStream |
stream |
protected java.io.PrintWriter |
writer |
| Constructor and Description |
|---|
GZIPResponseWrapper(HttpServletResponse response) |
| Modifier and Type | Method and Description |
|---|---|
ServletOutputStream |
createOutputStream() |
void |
finishResponse() |
void |
flushBuffer() |
ServletOutputStream |
getOutputStream() |
java.io.PrintWriter |
getWriter() |
void |
setContentLength(int length) |
protected HttpServletResponse origResponse
protected ServletOutputStream stream
protected java.io.PrintWriter writer
public ServletOutputStream createOutputStream()
throws java.io.IOException
java.io.IOExceptionpublic void finishResponse()
public void flushBuffer()
throws java.io.IOException
java.io.IOExceptionpublic ServletOutputStream getOutputStream()
throws java.io.IOException
java.io.IOExceptionpublic java.io.PrintWriter getWriter()
throws java.io.IOException
java.io.IOExceptionpublic void setContentLength(int length)