public interface RequestSerializer<T>
Modifier and Type | Method and Description |
---|---|
void |
serialize(T object,
java.io.OutputStream stream)
Serialize request to json
|
void serialize(T object, java.io.OutputStream stream) throws java.io.IOException
object
- to be serializedstream
- OutputStream involved in the HTTP Requestjava.io.IOException
- if an I/O exception occurs.