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,
HttpPartSchema schema)
Constructor.
|
public SerializedNameValuePair(String name, Object value, HttpPartSerializer serializer, HttpPartSchema schema)
name
- The parameter name.value
- The POJO to serialize to the parameter value.serializer
- The serializer to use for serializing the value to a string value.schema
- The schema object that defines the format of the output.
HttpPartSchema.DEFAULT
.
OpenApiSerializer
).Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.