Package org.apache.juneau.httppart
Class SimplePartSerializerSession
java.lang.Object
org.apache.juneau.httppart.BaseHttpPartSerializerSession
org.apache.juneau.httppart.SimplePartSerializerSession
- All Implemented Interfaces:
- HttpPartSerializerSession
Session object that lives for the duration of a single use of 
SimplePartSerializer.
 Notes:
- This class is not thread safe and is typically discarded after one use.
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionserialize(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.
- 
Constructor Details- 
SimplePartSerializerSessionpublic SimplePartSerializerSession()
 
- 
- 
Method Details- 
serializeDescription copied from interface:HttpPartSerializerSessionConverts 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.Returned values should NOT be URL-encoded. - Parameters:
- type- The category of value being serialized.
- schema- Schema information about the part.
 May be- null .
 Not all part serializers use the schema information.
- value- The value being serialized.
- Returns:
- The serialized value.
 
 
-