T - The type of objects to deserialize.@Deprecated
public interface HttpDeserializer<T>
| Modifier and Type | Method and Description |
|---|---|
BlockingIterable<T> |
deserialize(HttpHeaders headers,
BlockingIterable<Buffer> payload)
Deprecated.
Deserialize a
BlockingIterable of Objects into a BlockingIterable of type T. |
T |
deserialize(HttpHeaders headers,
Buffer payload)
Deprecated.
Deserialize a single
Object into a T. |
Publisher<T> |
deserialize(HttpHeaders headers,
Publisher<Buffer> payload)
Deprecated.
Deserialize a
Publisher of Objects into a Publisher of type T. |
T deserialize(HttpHeaders headers, Buffer payload)
Object into a T.headers - The HttpHeaders associated with the payload.payload - The Object to deserialize. The contents are assumed to be in memory, otherwise this method
may block.BlockingIterable<T> deserialize(HttpHeaders headers, BlockingIterable<Buffer> payload)
BlockingIterable of Objects into a BlockingIterable of type T.headers - The HttpHeaders associated with the payload.payload - Provides the Objects to deserialize. The contents are assumed to be in memory, otherwise
this method may block.BlockingIterable of type T which is the result of the deserialization.Publisher<T> deserialize(HttpHeaders headers, Publisher<Buffer> payload)
Publisher of Objects into a Publisher of type T.headers - The HttpHeaders associated with the payload.payload - Provides the Objects to deserialize.Publisher of type T which is the result of the deserialization.