Class MethodRequestMatcher

  • All Implemented Interfaces:
    org.hamcrest.Matcher<Request>, org.hamcrest.SelfDescribing

    public class MethodRequestMatcher
    extends RequestMatcher<String>
    A RequestMatcher used for matching the request method.
    • Constructor Detail

      • MethodRequestMatcher

        protected MethodRequestMatcher​(org.hamcrest.Matcher<? super String> pred)
        Protected constructor useful only when subtyping. For creating instances of this class use requestMethod(org.hamcrest.Matcher) instead.
        Parameters:
        pred - a predicate to be applied on the request method