List of usage examples for com.google.common.collect ImmutableMultimap of
public static <K, V> ImmutableMultimap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4)
From source file:org.obm.sync.client.login.LoginClient.java
@Override public boolean authenticateAdmin(String login, String password, String domainName) throws AuthFault { ImmutableMultimap<String, String> params = ImmutableMultimap.of("login", login, "password", password, "origin", origin, "domainName", domainName); AccessToken token = newAccessToken(login, domainConfiguration.getGlobalDomain(), origin); Document doc = execute(token, "/login/authenticateAdmin", params); exceptionFactory.checkLoginExpection(doc); return Boolean.valueOf(DOMUtils.getElementText(doc.getDocumentElement(), "value")); }