Tabnine Logo
MultiMap.putAllValues
Code IndexAdd Tabnine to your IDE (free)

How to use
putAllValues
method
in
org.eclipse.jetty.util.MultiMap

Best Java code snippets using org.eclipse.jetty.util.MultiMap.putAllValues (Showing top 1 results out of 315)

origin: apache/incubator-wave

/**
 * Verifies user credentials.
 * 
 * @param oldPassword the password to verify.
 * @param participantId the participantId of the user.
 * @throws LoginException if the user provided incorrect password.
 */
private void verifyCredentials(String password, ParticipantId participantId)
  throws LoginException {
 MultiMap<String> parameters = new MultiMap<String>();
 parameters.putAllValues(ImmutableMap.of("password", password, "address", participantId.getAddress()));
 CallbackHandler callbackHandler = new HttpRequestBasedCallbackHandler(parameters);
 LoginContext context = new LoginContext("Wave", new Subject(), callbackHandler, configuration);
 // If authentication fails, login() will throw a LoginException.
 context.login();
}
org.eclipse.jetty.utilMultiMapputAllValues

Javadoc

Shorthand version of putAll

Popular methods of MultiMap

  • <init>
  • add
    Add value to multi valued entry. If the entry is single valued, it is converted to the first value o
  • getValues
    Get multiple values. Single valued entries are converted to singleton lists.
  • keySet
  • entrySet
  • size
  • containsKey
  • getValue
    Get a value from a multiple value. If the value is not a multivalue, then index 0 retrieves the valu
  • clear
  • put
    Put multi valued entry.
  • toStringArrayMap
  • values
  • toStringArrayMap,
  • values,
  • get,
  • addValues,
  • addAllValues,
  • isEmpty,
  • remove,
  • getString

Popular in Java

  • Finding current android device location
  • requestLocationUpdates (LocationManager)
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now