Class HttpFieldsContainsHeaderKey

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

public class HttpFieldsContainsHeaderKey extends org.hamcrest.TypeSafeMatcher<org.eclipse.jetty.http.HttpFields>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    HttpFieldsContainsHeaderKey(org.eclipse.jetty.http.HttpHeader header)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.hamcrest.Matcher<org.eclipse.jetty.http.HttpFields>
     
    void
    describeTo(org.hamcrest.Description description)
     
    protected boolean
    matchesSafely(org.eclipse.jetty.http.HttpFields fields)
     

    Methods inherited from class org.hamcrest.TypeSafeMatcher

    describeMismatch, describeMismatchSafely, matches

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • HttpFieldsContainsHeaderKey

      public HttpFieldsContainsHeaderKey(String keyName)
    • HttpFieldsContainsHeaderKey

      public HttpFieldsContainsHeaderKey(org.eclipse.jetty.http.HttpHeader header)
  • Method Details

    • describeTo

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

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

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