@ApiAudience.Public @ApiStability.Unstable public interface ContractResult
Modifier and Type | Field and Description |
---|---|
static ContractResult |
EMPTY |
Modifier and Type | Method and Description |
---|---|
<T> T |
bind(java.lang.Class<T> clazz)
Bind contract result to class.
|
BytesValue |
getResultInRawBytes()
Deprecated.
|
BytesValue |
inBytesValue()
Get contract result in a bytes value.
|
static final ContractResult EMPTY
<T> T bind(java.lang.Class<T> clazz) throws java.io.IOException
T
- return typeclazz
- class to bindjava.io.IOException
- when binding error occurred@Deprecated BytesValue getResultInRawBytes()
inBytesValue()
instead.BytesValue inBytesValue()