public class TestThriftHttpServer extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.ExpectedException |
exception |
private static org.slf4j.Logger |
LOG |
protected static boolean |
tableCreated |
protected static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestThriftHttpServer() |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkHttpMethods(String url) |
protected Supplier<org.apache.hadoop.hbase.thrift.ThriftServer> |
getThriftServerSupplier() |
(package private) void |
runThriftServer(int customHeaderSize) |
static void |
setUpBeforeClass() |
protected void |
talkToThriftServer(String url,
int customHeaderSize) |
static void |
tearDownAfterClass() |
void |
testExceptionThrownWhenMisConfigured() |
void |
testRunThriftServer() |
void |
testRunThriftServerWithHeaderBufferLength() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
protected static final HBaseTestingUtility TEST_UTIL
public org.junit.rules.ExpectedException exception
protected static volatile boolean tableCreated
public TestThriftHttpServer()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testExceptionThrownWhenMisConfigured() throws IOException
IOExceptionpublic void testRunThriftServerWithHeaderBufferLength() throws Exception
Exceptionprotected Supplier<org.apache.hadoop.hbase.thrift.ThriftServer> getThriftServerSupplier()
public void testRunThriftServer() throws Exception
Exceptionvoid runThriftServer(int customHeaderSize) throws Exception
Exceptionprivate void checkHttpMethods(String url) throws Exception
Exceptionprotected void talkToThriftServer(String url, int customHeaderSize) throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.