bad.robot.http.matchers
Class HttpResponseHeaderStringMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<HttpResponse>
bad.robot.http.matchers.HttpResponseHeaderStringMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<HttpResponse>, org.hamcrest.SelfDescribing
public class HttpResponseHeaderStringMatcher
- extends org.hamcrest.TypeSafeMatcher<HttpResponse>
Methods inherited from class org.hamcrest.TypeSafeMatcher |
matches |
Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
HttpResponseHeaderStringMatcher
public HttpResponseHeaderStringMatcher(String name,
org.hamcrest.Matcher<String> valueMatcher)
hasHeaderWithValue
public static HttpResponseHeaderStringMatcher hasHeaderWithValue(String name,
org.hamcrest.Matcher<String> matcher)
matchesSafely
public boolean matchesSafely(HttpResponse actual)
- Specified by:
matchesSafely
in class org.hamcrest.TypeSafeMatcher<HttpResponse>
describeTo
public void describeTo(org.hamcrest.Description description)
Copyright © 2012. All Rights Reserved.