Class HttpFieldsContainsHeaderKey

java.lang.Object
org.hamcrest.BaseMatcher<HttpFields>
org.hamcrest.TypeSafeMatcher<HttpFields>
org.eclipse.jetty.http.tools.matchers.HttpFieldsContainsHeaderKey
All Implemented Interfaces:
org.hamcrest.Matcher<HttpFields>, org.hamcrest.SelfDescribing

public class HttpFieldsContainsHeaderKey extends org.hamcrest.TypeSafeMatcher<HttpFields>
  • Constructor Details

    • HttpFieldsContainsHeaderKey

      public HttpFieldsContainsHeaderKey(String keyName)
    • HttpFieldsContainsHeaderKey

      public HttpFieldsContainsHeaderKey(HttpHeader header)
  • Method Details

    • describeTo

      public void describeTo(org.hamcrest.Description description)
    • matchesSafely

      protected boolean matchesSafely(HttpFields fields)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<HttpFields>
    • containsKey

      public static org.hamcrest.Matcher<HttpFields> containsKey(String keyName)