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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classA very simple filter which record the uri filtered. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.slf4j.Loggerprivate static StringFields inherited from class org.apache.hadoop.hbase.http.HttpServerFunctionalTest
TEST_BUILD_WEBAPPS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidassertExceptionContains(String string, Throwable t) voidSimilar to the above test case, except that it uses a different API to add the filter.voidvoidMethods 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
-