All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mockserver.model.Headers Maven / Gradle / Ivy

There is a newer version: 5.15.0
Show newest version
package org.mockserver.model;

import java.util.Collection;
import java.util.List;

/**
 * @author jamesdbloom
 */
public class Headers extends KeysToMultiValues {

    public Headers(List
headers) { withEntries(headers); } public Headers(Header... headers) { withEntries(headers); } @Override public Header build(NottableString name, Collection values) { return new Header(name, values); } public Headers withKeyMatchStyle(KeyMatchStyle keyMatchStyle) { super.withKeyMatchStyle(keyMatchStyle); return this; } @SuppressWarnings("MethodDoesntCallSuperMethod") public Headers clone() { return new Headers().withEntries(getEntries()); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy