Package org.apache.hadoop.hbase.http
Class TestServletFilter
java.lang.Object
org.apache.hadoop.hbase.http.HttpServerFunctionalTest
org.apache.hadoop.hbase.http.TestServletFilter
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
A very simple filter which record the uri filtered. -
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
private static String
Fields inherited from class org.apache.hadoop.hbase.http.HttpServerFunctionalTest
TEST_BUILD_WEBAPPS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
assertExceptionContains
(String string, Throwable t) void
Similar to the above test case, except that it uses a different API to add the filter.void
void
Methods inherited from class org.apache.hadoop.hbase.http.HttpServerFunctionalTest
access, createAndStartTestServer, createServer, createServer, createServer, createServer, createServer, createTestServer, createTestServer, createTestServer, createTestServer, createTestServerWithSecurity, createTestServerWithSecurityAndAcl, deleteRecursively, getFreePort, getServerURL, prepareTestWebapp, readOutput, stop
-
Field Details
-
CLASS_RULE
-
LOG
-
uri
-
-
Constructor Details
-
TestServletFilter
public TestServletFilter()
-
-
Method Details
-
assertExceptionContains
-
testServletFilter
- Throws:
Exception
-
testServletFilterWhenInitThrowsException
- Throws:
Exception
-
testContextSpecificServletFilterWhenInitThrowsException
Similar to the above test case, except that it uses a different API to add the filter. Regression test for HADOOP-8786.- Throws:
Exception
-