bad.robot.http.matchers
Class HttpResponseHeaderMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<HttpResponse>
          extended by bad.robot.http.matchers.HttpResponseHeaderMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<HttpResponse>, org.hamcrest.SelfDescribing

public class HttpResponseHeaderMatcher
extends org.hamcrest.TypeSafeMatcher<HttpResponse>


Method Summary
 void describeTo(org.hamcrest.Description description)
           
static HttpResponseHeaderMatcher hasHeader(Header expected)
           
 boolean matchesSafely(HttpResponse actual)
           
 
Methods inherited from class org.hamcrest.TypeSafeMatcher
matches
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

hasHeader

public static HttpResponseHeaderMatcher hasHeader(Header expected)

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.