MCPcopy Create free account
hub / github.com/chain/Core / getPage

Method getPage

sdk/java/src/main/java/com/chain/api/MockHsm.java:101–106  ·  view source on GitHub ↗

Requests a page of key objects from the core. @return a collection of key objects @throws APIException This exception is raised if the api returns errors while retrieving the keys. @throws BadURLException This exception wraps java.net.MalformedURLException. @throws ConnectivityException This excepti

()

Source from the content-addressed store, hash-verified

99 * @throws JSONException This exception is raised due to malformed json requests or responses.
100 */
101 @Override
102 public Items getPage() throws ChainException {
103 Items items = this.client.request("mockhsm/list-keys", this.next, Items.class);
104 items.setClient(this.client);
105 return items;
106 }
107 }
108
109 public static class QueryBuilder {

Callers 1

executeMethod · 0.95

Calls 2

setClientMethod · 0.80
requestMethod · 0.45

Tested by

no test coverage detected