ConnectedCodec@FunctionalInterface
public interface Decoder
| Modifier and Type | Method | Description |
|---|---|---|
<T> T |
decode(java.lang.reflect.Type expected) |
Decodes an object graph of the expected type.
|
<T> T decode(java.lang.reflect.Type expected)
throws java.lang.Exception
T - the expected type of the decoded object.expected - the expected type of the decoded object graph, e.g. String.class.
This is just a hint and the implementation may ignore it.java.lang.Exception