Package org.mockserver.model
Class Parameters
- Author:
- jamesdbloom
-
Constructor Summary
ConstructorsConstructorDescriptionParameters(com.google.common.collect.Multimap<NottableString, NottableString> headers) Parameters(List<Parameter> parameters) Parameters(Parameter... parameters) -
Method Summary
Modifier and TypeMethodDescriptionbuild(NottableString name, Collection<NottableString> values) clone()protected voidInvoked from every mutating method before the underlying multimap is changed.static Parametersparameters(Parameter... parameters) withKeyMatchStyle(KeyMatchStyle keyMatchStyle) withRawParameterString(String rawParameterString) Methods inherited from class org.mockserver.model.KeysToMultiValues
clearConvertedMatcher, containsEntry, containsEntry, equals, getConvertedMatcher, getEntries, getKeyMatchStyle, getMultimap, getValues, getValues, hashCode, isEmpty, keySet, remove, remove, replaceEntry, replaceEntry, replaceEntryIfExists, setConvertedMatcher, withEntries, withEntries, withEntries, withEntry, withEntry, withEntry, withEntry, withEntryMethods inherited from class org.mockserver.model.ObjectWithJsonToString
toStringMethods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
Constructor Details
-
Parameters
-
Parameters
-
Parameters
-
-
Method Details
-
parameters
-
build
- Specified by:
buildin classKeysToMultiValues<Parameter,Parameters>
-
isModified
protected void isModified()Description copied from class:KeysToMultiValuesInvoked from every mutating method before the underlying multimap is changed. Clears the memoized request-side conversion so a mutated collection never serves a stale conversion. Subclasses that override this MUST callsuper.isModified().- Overrides:
isModifiedin classKeysToMultiValues<Parameter,Parameters>
-
withKeyMatchStyle
- Overrides:
withKeyMatchStylein classKeysToMultiValues<Parameter,Parameters>
-
getRawParameterString
-
withRawParameterString
-
clone
- Specified by:
clonein classKeysToMultiValues<Parameter,Parameters>
-