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
IOExceptionpublic void testResetBuffer() throws IOException
IOExceptionpublic void testReset() throws IOException
IOExceptionpublic void testSendError() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.