RpcResponse.Builder¶
-
public static class
Builder
¶
Methods¶
build¶
-
public RpcResponse
build
()¶
setError¶
setId¶
-
public Builder
setId
(Object id)¶ Sets the id. Usually the same as
RpcRequest.getId()
.Returns: this, updated rpc response builder
setResult¶
-
public Builder
setResult
(JsonObject result)¶ Sets the result and removes the error, if one has been set
Returns: this, updated rpc response builder