bad.robot.http.matchers.apache
Class ApacheHttpUriRequestUrlMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<org.apache.http.client.methods.HttpUriRequest>
          extended by bad.robot.http.matchers.apache.ApacheHttpUriRequestUrlMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<org.apache.http.client.methods.HttpUriRequest>, org.hamcrest.SelfDescribing

public class ApacheHttpUriRequestUrlMatcher
extends org.hamcrest.TypeSafeMatcher<org.apache.http.client.methods.HttpUriRequest>


Constructor Summary
ApacheHttpUriRequestUrlMatcher(URL url)
           
 
Method Summary
 void describeTo(org.hamcrest.Description description)
           
 boolean matchesSafely(org.apache.http.client.methods.HttpUriRequest request)
           
static org.hamcrest.Matcher<org.apache.http.client.methods.HttpUriRequest> requestWith(URL url)
           
 
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, 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
 

Constructor Detail

ApacheHttpUriRequestUrlMatcher

public ApacheHttpUriRequestUrlMatcher(URL url)
Method Detail

requestWith

public static org.hamcrest.Matcher<org.apache.http.client.methods.HttpUriRequest> requestWith(URL url)

matchesSafely

public boolean matchesSafely(org.apache.http.client.methods.HttpUriRequest request)
Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<org.apache.http.client.methods.HttpUriRequest>

describeTo

public void describeTo(org.hamcrest.Description description)


Copyright © 2012. All Rights Reserved.