Example usage for org.springframework.util MultiValueMap interface-usage

List of usage examples for org.springframework.util MultiValueMap interface-usage

Introduction

In this page you can find the example usage for org.springframework.util MultiValueMap interface-usage.

Usage

From source file org.cloudfoundry.identity.uaa.login.LinkedMaskingMultiValueMap.java

/**
 * Simple implementation of {@link MultiValueMap} that wraps a
 * {@link LinkedHashMap},
 * storing multiple values in a {@link LinkedList}.
 * 
 * <p>

From source file com.github.ljtfreitas.restify.http.spring.contract.FormParameters.java

public class FormParameters implements MultiValueMap<String, Object> {

    private final MultiValueMap<String, Object> map = new LinkedMultiValueMap<>();

    public FormParameters(Parameter... parameters) {
        Arrays.stream(parameters).forEach(p -> map.add(p.name(), p.value()));

From source file jails.http.HttpHeaders.java

/**
 * Represents HTTP request and response headers, mapping string header names to list of string values.
 *
 * <p>In addition to the normal methods defined by {@link Map}, this class offers the following convenience methods:
 * <ul>
 * <li>{@link #getFirst(String)} returns the first value associated with a given header name</li>