public class TestGZIPResponseWrapper extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private javax.servlet.http.HttpServletResponse |
response |
private org.apache.hadoop.hbase.rest.filter.GZIPResponseWrapper |
wrapper |
Constructor and Description |
---|
TestGZIPResponseWrapper() |
Modifier and Type | Method and Description |
---|---|
void |
testHeader()
wrapper should set all headers except "content-length"
|
void |
testReset() |
void |
testResetBuffer() |
void |
testSendError() |
public static final HBaseClassTestRule CLASS_RULE
private final javax.servlet.http.HttpServletResponse response
private final org.apache.hadoop.hbase.rest.filter.GZIPResponseWrapper wrapper
public TestGZIPResponseWrapper()
public void testHeader() throws IOException
IOException
public void testResetBuffer() throws IOException
IOException
public void testReset() throws IOException
IOException
public void testSendError() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.