| Package | Description |
|---|---|
| io.resourcepool.jarpic.client | |
| io.resourcepool.jarpic.model | |
| io.resourcepool.jarpic.parser |
| Modifier and Type | Method and Description |
|---|---|
<T> JsonRpcResponse<T> |
JsonRpcClient.send(JsonRpcRequest req,
Class<T> resultClass)
Send synchronous Json RPC request to server.
|
<T> JsonRpcResponse<T> |
HttpJsonRpcClient.send(JsonRpcRequest req,
Class<T> resultClass) |
| Modifier and Type | Method and Description |
|---|---|
<T> List<JsonRpcResponse<T>> |
JsonRpcClient.send(List<JsonRpcRequest> reqs,
Class<T> resultClass)
Send Json RPC request array to server.
|
<T> List<JsonRpcResponse<T>> |
HttpJsonRpcClient.send(List<JsonRpcRequest> reqs,
Class<T> resultClass) |
| Modifier and Type | Method and Description |
|---|---|
JsonRpcResponse |
JsonRpcResponse.Builder.build() |
| Modifier and Type | Method and Description |
|---|---|
void |
JsonRpcCallback.onResponse(JsonRpcResponse<T> result)
Called when response has been received from remote server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JsonRpcMultiCallback.onResponse(List<JsonRpcResponse<T>> results)
Called when response has been received from remote server.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> JsonRpcResponse<T> |
ResponseParser.parseOne(InputStream content,
Class<T> resultClass)
Parse InputStream to JsonRpcResponse with resultClass.
|
static <T> JsonRpcResponse<T> |
ResponseParser.parseOne(com.fasterxml.jackson.databind.JsonNode content,
Class<T> resultClass)
Parse JsonNode to JsonRpcResponse with resultClass.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> List<JsonRpcResponse<T>> |
ResponseParser.parseList(InputStream content,
Class<T> resultClass)
Parse InputStream to JsonRpcResponse List with resultClass.
|
static <T> List<JsonRpcResponse<T>> |
ResponseParser.parseList(com.fasterxml.jackson.databind.JsonNode content,
Class<T> resultClass)
Parse JsonNode to JsonRpcResponse List with resultClass.
|
Copyright © 2017. All rights reserved.