| Constructor and Description |
|---|
HasHeaderWithValue(String name,
org.hamcrest.Matcher<String> valueMatcher)
Creates a new instance of this matcher.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(Response response,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(Response response) |
public HasHeaderWithValue(String name, org.hamcrest.Matcher<String> valueMatcher)
name - The name of the header to evaluate - case INSENSITIVEvalueMatcher - The matcher to use against the header value if a header with the specified name is found - case SENSITIVECopyright © 2012. All Rights Reserved.