Package com.atlan.net
Class FormEncoder
java.lang.Object
com.atlan.net.FormEncoder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpContent
createHttpContent
(Map<String, Object> params) static String
createQueryString
(Collection<KeyValuePair<String, String>> nameValueCollection) Creates the HTTP query string for a collection of name/value tuples.
-
Constructor Details
-
FormEncoder
public FormEncoder()
-
-
Method Details
-
createHttpContent
- Throws:
IOException
-
createQueryString
Creates the HTTP query string for a collection of name/value tuples.- Parameters:
nameValueCollection
- The collection of name/value tuples.- Returns:
- The query string.
-