
org.mockserver.model.Cookies 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.List;
/**
* @author jamesdbloom
*/
public class Cookies extends KeysAndValues {
public Cookies(List cookies) {
withEntries(cookies);
}
public Cookies(Cookie... cookies) {
withEntries(cookies);
}
@Override
public Cookie build(NottableString name, NottableString value) {
return new Cookie(name, value);
}
@SuppressWarnings("MethodDoesntCallSuperMethod")
public Cookies clone() {
return new Cookies().withEntries(getEntries());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy