public class MethodInvocationResultDto extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MethodInvocationResultDto.Error
Class contains such error details as:
- error code
- short message
- detailed error information, nested errors, etc.
|
| Constructor and Description |
|---|
MethodInvocationResultDto(int errorCode,
String shortErrorMessage,
String detailedErrorMessage) |
MethodInvocationResultDto(String value,
String type)
Represents result of method invocation which is sent back to the client.
|
| Modifier and Type | Method and Description |
|---|---|
MethodInvocationResultDto.Error |
getError() |
String |
getId() |
String |
getJsonrpc() |
String |
getType() |
String |
getValue() |
void |
setId(String id) |
void |
setJsonrpc(String jsonrpc) |
String |
toString() |
public MethodInvocationResultDto(String value, String type)
value - string representation of resulting object.
Null for Voidtype - a name of a resulting class Class.getName()Copyright © 2015 Sterodium. All rights reserved.