Example usage for org.springframework.util LinkedMultiValueMap putAll

List of usage examples for org.springframework.util LinkedMultiValueMap putAll

Introduction

In this page you can find the example usage for org.springframework.util LinkedMultiValueMap putAll.

Prototype

@Override
    public void putAll(Map<? extends K, ? extends List<V>> map) 

Source Link

Usage

From source file:org.agorava.yammer.impl.MessageServiceImpl.java

public MessageInfo postUpdate(String message, YammerPostDetails details) {
    LinkedMultiValueMap<String, Object> params = new LinkedMultiValueMap<String, Object>();
    params.set("body", message);
    params.putAll(details.toParameters());
    return restTemplate.postForObject(buildUri("messages.json"), params, MessageInfo.class);
}