Package gov.nasa.pds.registry.common
Interface ConnectionFactory
- All Known Implementing Classes:
UseOpensearchSDK2
public interface ConnectionFactory
-
Method Summary
Modifier and TypeMethodDescriptionclone()org.apache.http.client.CredentialsProviderorg.apache.hc.client5.http.auth.CredentialsProviderorg.apache.http.HttpHostgetHost()org.apache.hc.core5.http.HttpHostgetHost5()booleanvoidsetIndexName(String idxName)
-
Method Details
-
clone
ConnectionFactory clone() -
createRestClient
- Throws:
Exception
-
getCredentials
org.apache.http.client.CredentialsProvider getCredentials() -
getCredentials5
org.apache.hc.client5.http.auth.CredentialsProvider getCredentials5() -
getHost
org.apache.http.HttpHost getHost() -
getHost5
org.apache.hc.core5.http.HttpHost getHost5() -
getHostName
String getHostName() -
getIndexName
String getIndexName() -
isTrustingSelfSigned
boolean isTrustingSelfSigned() -
reconnect
- Throws:
IOExceptionInterruptedException
-
setIndexName
-