
org.mockserver.model.Parameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mockserver-core Show documentation
Show all versions of mockserver-core Show documentation
Functionality used by all MockServer modules for matching and expectations
package org.mockserver.model;
import java.util.Collection;
import java.util.List;
/**
* @author jamesdbloom
*/
public class Parameters extends KeysToMultiValues {
public Parameters(List parameters) {
withEntries(parameters);
}
public Parameters(Parameter... parameters) {
withEntries(parameters);
}
@Override
public Parameter build(NottableString name, Collection values) {
return new Parameter(name, values);
}
public Parameters withKeyMatchStyle(KeyMatchStyle keyMatchStyle) {
super.withKeyMatchStyle(keyMatchStyle);
return this;
}
@SuppressWarnings("MethodDoesntCallSuperMethod")
public Parameters clone() {
return new Parameters().withEntries(getEntries());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy