public abstract class BaseHttpPartSerializerSession extends Object implements HttpPartSerializerSession
HttpPartSerializerSession
Constructor and Description |
---|
BaseHttpPartSerializerSession() |
Modifier and Type | Method and Description |
---|---|
String |
serialize(HttpPartSchema schema,
Object value)
Same as
HttpPartSerializerSession.serialize(HttpPartType, HttpPartSchema, Object) but defaults to a |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
serialize
public BaseHttpPartSerializerSession()
public String serialize(HttpPartSchema schema, Object value) throws SerializeException, SchemaValidationException
HttpPartSerializerSession
HttpPartSerializerSession.serialize(HttpPartType, HttpPartSchema, Object)
but defaults to a serialize
in interface HttpPartSerializerSession
schema
- Schema information about the part.
value
- The value being serialized.SerializeException
- If a problem occurred while trying to parse the input.SchemaValidationException
- If the output fails schema validation.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.