public class URIMatcher extends org.hamcrest.TypeSafeMatcher<URI>
For example: (query parameters delimeter
http://www.test.com/home/service?action=test&name=Jo&surname=Adam
is NOT the same as:
http://www.test.com/home/service?action=test;name=Jo;surname=Adam
For example:
http://www.test.com/home/service?action=test&name=Jo&surname=Adam;
is NOT the same as:
http://www.test.com/home/service?action=test&name=Jo&surname=Adam;
* The ONLY exception: (Order of query parameters)
http://www.test.com/home/service?action=test&name=Jo&surname=Adam
IS the same as:
http://www.test.com/home/service?name=Jo&surname=Adam&action=test
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
static URIMatcher |
isSameURI(URI uri) |
protected boolean |
matchesSafely(URI receivedUriToMatch) |
describeMismatch, describeMismatchSafely, matches
public static URIMatcher isSameURI(URI uri)
protected boolean matchesSafely(URI receivedUriToMatch)
matchesSafely
in class org.hamcrest.TypeSafeMatcher<URI>
public void describeTo(org.hamcrest.Description description)
Copyright © 2002-2021 Atlassian. All Rights Reserved.