public class RestClient
extends org.apache.hugegraph.rest.AbstractRestClient
| Constructor and Description |
|---|
RestClient(String url,
String username,
String password,
int timeout) |
RestClient(String url,
String username,
String password,
int timeout,
int maxConns,
int maxConnsPerRoute,
String trustStoreFile,
String trustStorePassword) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hugegraph.util.VersionUtil.Version |
apiVersion() |
void |
apiVersion(org.apache.hugegraph.util.VersionUtil.Version version) |
boolean |
apiVersionLt(String minVersion) |
void |
checkApiVersion(String minVersion,
String message) |
protected void |
checkStatus(jakarta.ws.rs.core.Response response,
jakarta.ws.rs.core.Response.Status... statuses) |
public void apiVersion(org.apache.hugegraph.util.VersionUtil.Version version)
public org.apache.hugegraph.util.VersionUtil.Version apiVersion()
public boolean apiVersionLt(String minVersion)
protected void checkStatus(jakarta.ws.rs.core.Response response,
jakarta.ws.rs.core.Response.Status... statuses)
checkStatus in class org.apache.hugegraph.rest.AbstractRestClientCopyright © 2023 The Apache Software Foundation. All rights reserved.