public final class SerializedNameValuePair extends Object implements org.apache.http.NameValuePair
NameValuePair
for serializing POJOs as URL-encoded form post entries using the
class
.
NameValuePairs params =
Constructor and Description |
---|
SerializedNameValuePair(String name,
Object value,
HttpPartSerializer serializer)
Constructor.
|
public SerializedNameValuePair(String name, Object value, HttpPartSerializer serializer)
name
- The parameter name.value
- The POJO to serialize to the parameter value.serializer
- The serializer to use to convert the value to a string.Copyright © 2018 Apache. All rights reserved.