public class SimplePartSerializerSession extends BaseHttpPartSerializerSession
SimplePartSerializer.
This class is NOT thread safe. It is typically discarded after one-time use although it can be reused within the same thread.
| Constructor and Description |
|---|
SimplePartSerializerSession() |
| Modifier and Type | Method and Description |
|---|---|
String |
serialize(HttpPartType type,
HttpPartSchema schema,
Object value)
Converts the specified value to a string that can be used as an HTTP header value, query parameter value,
form-data parameter, or URI path variable.
|
serializepublic SimplePartSerializerSession()
public String serialize(HttpPartType type, HttpPartSchema schema, Object value)
HttpPartSerializerSessionReturned values should NOT be URL-encoded.
type - The category of value being serialized.schema - Schema information about the part.
value - The value being serialized.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.