Class HttpFieldsContainsHeaderValue

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.HttpFieldsContainsHeaderValue
All Implemented Interfaces:
org.hamcrest.Matcher<org.eclipse.jetty.http.HttpFields>, org.hamcrest.SelfDescribing

public class HttpFieldsContainsHeaderValue extends org.hamcrest.TypeSafeMatcher<org.eclipse.jetty.http.HttpFields>
  • Constructor Details

    • HttpFieldsContainsHeaderValue

      public HttpFieldsContainsHeaderValue(String keyName, String value)
    • HttpFieldsContainsHeaderValue

      public HttpFieldsContainsHeaderValue(org.eclipse.jetty.http.HttpHeader header, String value)
  • 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>