public class RestClient
extends org.apache.hugegraph.rest.AbstractRestClient
| Constructor and Description |
|---|
RestClient(String url,
org.apache.hugegraph.rest.RestClientConfig config) |
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)
Deprecated.
|
| 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(okhttp3.Response response,
int... statuses) |
@Deprecated public RestClient(String url, String username, String password, int timeout, int maxConns, int maxConnsPerRoute, String trustStoreFile, String trustStorePassword)
public RestClient(String url, org.apache.hugegraph.rest.RestClientConfig config)
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(okhttp3.Response response,
int... statuses)
checkStatus in class org.apache.hugegraph.rest.AbstractRestClientCopyright © 2024 The Apache Software Foundation. All rights reserved.