Class HttpAssert
- java.lang.Object
-
- com.adobe.cq.testing.junit.assertion.HttpAssert
-
public class HttpAssert extends Object
-
-
Constructor Summary
Constructors Constructor Description HttpAssert()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
static Map<String,String>
parseParameters(String query)
static URL
parseURL(String pathOrURL)
-
-
-
Method Detail
-
assertContentTypeEquals
public static void assertContentTypeEquals(org.apache.http.HttpResponse response)
-
assertURLPathEquals
public static void assertURLPathEquals(String expected, String loc) throws MalformedURLException
- Throws:
MalformedURLException
-
-