Class HttpAssert
java.lang.Object
com.adobe.cq.testing.junit.assertion.HttpAssert
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
assertContentTypeEquals
(org.apache.http.HttpResponse response) static void
assertParameter
(String pathOrURL, String parameter, String value) static void
assertURLPathEquals
(String expected, String loc) static String
extractPath
(String pathOrURL) parseParameters
(String query) static URL
-
Constructor Details
-
HttpAssert
public HttpAssert()
-
-
Method Details
-
assertContentTypeEquals
public static void assertContentTypeEquals(org.apache.http.HttpResponse response) -
parseURL
-
extractPath
-
assertURLPathEquals
- Throws:
MalformedURLException
-
parseParameters
-
assertParameter
-