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