public class HeaderMatcher
public static HeaderMatcher INSTANCE
@Nullable public HeaderMismatch matchContentType(@NotNull java.lang.String expected, @NotNull java.lang.String actual)
@JvmStatic
@NotNull
public static java.util.Map<java.lang.String,java.lang.String> parseParameters(@NotNull
java.util.List<java.lang.String> values)
@NotNull
public java.lang.String stripWhiteSpaceAfterCommas(@NotNull
java.lang.String str)
@JvmStatic @Nullable public static HeaderMismatch compareHeader(@NotNull java.lang.String headerKey, @NotNull java.lang.String expected, @NotNull java.lang.String actual, @NotNull au.com.dius.pact.core.model.matchingrules.MatchingRules matchers)
Compares the expected header value to the actual, delegating to any matching rules if present