public class TestThriftHttpServer extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private Exception |
clientSideException |
org.junit.rules.ExpectedException |
exception |
private Exception |
httpServerException |
private Thread |
httpServerThread |
private static org.slf4j.Logger |
LOG |
(package private) int |
port |
(package private) static boolean |
tableCreated |
(package private) static HBaseTestingUtility |
TEST_UTIL |
private org.apache.hadoop.hbase.thrift.ThriftServer |
thriftServer |
| Constructor and Description |
|---|
TestThriftHttpServer() |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkHttpMethods(String url) |
(package private) void |
runThriftServer(int customHeaderSize) |
static void |
setUpBeforeClass() |
private void |
startHttpServerThread(String[] args) |
private void |
stopHttpServerThread() |
(package private) 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
static final HBaseTestingUtility TEST_UTIL
private Thread httpServerThread
private volatile Exception httpServerException
private Exception clientSideException
private org.apache.hadoop.hbase.thrift.ThriftServer thriftServer
int port
public org.junit.rules.ExpectedException exception
static volatile boolean tableCreated
public TestThriftHttpServer()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testExceptionThrownWhenMisConfigured() throws Exception
Exceptionprivate void startHttpServerThread(String[] args)
public void testRunThriftServerWithHeaderBufferLength() throws Exception
Exceptionpublic void testRunThriftServer() throws Exception
Exceptionvoid runThriftServer(int customHeaderSize) throws Exception
Exceptionprivate void checkHttpMethods(String url) throws Exception
Exceptionvoid talkToThriftServer(String url, int customHeaderSize) throws Exception
Exceptionprivate void stopHttpServerThread() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.