INNER CODE UNIT · Java
setSecretKey
Erudika/para · para-client/src/main/java/com/erudika/para/client/ParaClient.java:215
public void setSecretKey(String secretKey) {
this.secretKey = secretKey;
}
/**
* Sets the host URL of the Para server.
* @param endpoint the Para server location
*/
public void setEndpoint(String endpoint) {
this.endpoint = endpoint;
}
/**
* Closes the underlying Jersey client and releases resources.
*/
public void close() {
if (httpasyncclient != null) {
httpasyncclient.close(CloseMode.GRACEFUL);