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

org.jboss.resteasy.reactive.common.util.QuarkusMultivaluedMap Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package org.jboss.resteasy.reactive.common.util;

import java.util.List;

import jakarta.ws.rs.core.MultivaluedMap;

/**
 * MultivaluedMap with extra operations
 */
public interface QuarkusMultivaluedMap extends MultivaluedMap {
    /**
     * Adds all elements of the given map to this map.
     *
     * @param otherMap the map to take keys and values from
     */
    public default void addAll(MultivaluedMap otherMap) {
        for (Entry> entry : otherMap.entrySet()) {
            addAll(entry.getKey(), entry.getValue());
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy