Package org.apache.hadoop.hbase.util
Class TestServerHttpUtils
java.lang.Object
org.apache.hadoop.hbase.util.TestServerHttpUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetMasterInfoServerHostAndPort(org.apache.hadoop.hbase.LocalHBaseCluster cluster) static StringgetMasterPageContent(org.apache.hadoop.hbase.LocalHBaseCluster cluster) static StringgetPageContent(URL url, String mimeType) static StringgetRegionServerPageContent(String hostName, int port) private static String
-
Field Details
-
PLAIN_TEXT_UTF8
- See Also:
-
-
Constructor Details
-
TestServerHttpUtils
private TestServerHttpUtils()
-
-
Method Details
-
getMasterInfoServerHostAndPort
public static String getMasterInfoServerHostAndPort(org.apache.hadoop.hbase.LocalHBaseCluster cluster) -
getPageContent
- Throws:
IOException
-
getMasterPageContent
public static String getMasterPageContent(org.apache.hadoop.hbase.LocalHBaseCluster cluster) throws IOException - Throws:
IOException
-
getRegionServerPageContent
- Throws:
IOException
-
getResponseBody
- Throws:
IOException
-