public class GZIPResponseWrapper
extends HttpServletResponseWrapper
Constructor and Description |
---|
GZIPResponseWrapper(HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
addHeader(java.lang.String name,
java.lang.String value) |
void |
flushBuffer() |
ServletOutputStream |
getOutputStream() |
java.io.PrintWriter |
getWriter() |
void |
reset() |
void |
resetBuffer() |
void |
sendError(int status) |
void |
sendError(int status,
java.lang.String msg) |
void |
sendRedirect(java.lang.String location) |
void |
setContentLength(int length) |
void |
setHeader(java.lang.String name,
java.lang.String value) |
void |
setIntHeader(java.lang.String name,
int value) |
void |
setStatus(int status) |
public void setStatus(int status)
public void addHeader(java.lang.String name, java.lang.String value)
public void setContentLength(int length)
public void setIntHeader(java.lang.String name, int value)
public void setHeader(java.lang.String name, java.lang.String value)
public void flushBuffer() throws java.io.IOException
java.io.IOException
public void reset()
public void resetBuffer()
public void sendError(int status, java.lang.String msg) throws java.io.IOException
java.io.IOException
public void sendError(int status) throws java.io.IOException
java.io.IOException
public void sendRedirect(java.lang.String location) throws java.io.IOException
java.io.IOException
public ServletOutputStream getOutputStream() throws java.io.IOException
java.io.IOException
public java.io.PrintWriter getWriter() throws java.io.IOException
java.io.IOException