Package org.mockserver.model
Class Parameters
-
public class Parameters extends KeysToMultiValues<Parameter,Parameters>
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description Parameters(com.google.common.collect.Multimap<NottableString,NottableString> headers)Parameters(List<Parameter> parameters)Parameters(Parameter... parameters)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Parameterbuild(NottableString name, Collection<NottableString> values)Parametersclone()StringgetRawParameterString()protected voidisModified()static Parametersparameters(Parameter... parameters)ParameterswithKeyMatchStyle(KeyMatchStyle keyMatchStyle)ParameterswithRawParameterString(String rawParameterString)-
Methods inherited from class org.mockserver.model.KeysToMultiValues
containsEntry, containsEntry, equals, getEntries, getKeyMatchStyle, getMultimap, getValues, getValues, hashCode, isEmpty, keySet, remove, remove, replaceEntry, replaceEntry, replaceEntryIfExists, withEntries, withEntries, withEntries, withEntry, withEntry, withEntry, withEntry, withEntry
-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
-
-
-
Constructor Detail
-
Parameters
public Parameters(Parameter... parameters)
-
Parameters
public Parameters(com.google.common.collect.Multimap<NottableString,NottableString> headers)
-
-
Method Detail
-
parameters
public static Parameters parameters(Parameter... parameters)
-
build
public Parameter build(NottableString name, Collection<NottableString> values)
- Specified by:
buildin classKeysToMultiValues<Parameter,Parameters>
-
isModified
protected void isModified()
- Specified by:
isModifiedin classKeysToMultiValues<Parameter,Parameters>
-
withKeyMatchStyle
public Parameters withKeyMatchStyle(KeyMatchStyle keyMatchStyle)
- Overrides:
withKeyMatchStylein classKeysToMultiValues<Parameter,Parameters>
-
getRawParameterString
public String getRawParameterString()
-
withRawParameterString
public Parameters withRawParameterString(String rawParameterString)
-
clone
public Parameters clone()
- Specified by:
clonein classKeysToMultiValues<Parameter,Parameters>
-
-