Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.koushikdutta.ion.builder;
 
 import java.util.List;
 import java.util.Map;

Created by koush on 5/30/13.
  // set additional body parameters for url form encoded
 public interface UrlEncodedBuilder<U extends UrlEncodedBuilder> {
    
Specify a application/x-www-form-urlencoded name and value pair to send to the HTTP server. If no HTTP method was explicitly provided in the load call, the default HTTP method, POST, is used.

Parameters:
name Form field name
value Form field String value
Returns:
    public U setBodyParameter(String nameString value);
    
Specifies a map with application/x-www-form-urlencoded name and value pairs to send to the HTTP server. If no HTTP method was explicitly provided in the load call, the default HTTP method, POST, is used.

Parameters:
params The map containing key value pairs
Returns:
    public U setBodyParameters(Map<StringList<String>> params);
New to GrepCode? Check out our FAQ X