Package org.mockserver.model
Class Header
-
public class Header extends KeyToMultiValue
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description Header(String name, String... value)
Header(String name, Collection<String> value)
Header(NottableString name, Collection<NottableString> value)
Header(NottableString name, NottableString... value)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Header
header(String name, int value)
static Header
header(String name, String... value)
static Header
header(String name, Collection<String> value)
static Header
header(NottableString name, Collection<NottableString> value)
static Header
header(NottableString name, NottableString... value)
-
Methods inherited from class org.mockserver.model.KeyToMultiValue
addValue, addValues, addValues, equals, getName, getValues, hashCode
-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode, key
-
-
-
-
Constructor Detail
-
Header
public Header(NottableString name, NottableString... value)
-
Header
public Header(String name, Collection<String> value)
-
Header
public Header(NottableString name, Collection<NottableString> value)
-
-
Method Detail
-
header
public static Header header(NottableString name, NottableString... value)
-
header
public static Header header(String name, Collection<String> value)
-
header
public static Header header(NottableString name, Collection<NottableString> value)
-
-