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 voidassertContentTypeEquals(org.apache.http.HttpResponse response)static voidassertParameter(String pathOrURL, String parameter, String value)static voidassertURLPathEquals(String expected, String loc)static StringextractPath(String pathOrURL)static Map<String,String>parseParameters(String query)static URLparseURL(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
-
-