Package com.attivio.platform.service
Class RemoteSearchClient
- java.lang.Object
-
- com.attivio.client.AbstractSearchClient
-
- com.attivio.platform.service.RemoteSearchClient
-
- All Implemented Interfaces:
HasSecurityCredentials,SearchClient
public class RemoteSearchClient extends AbstractSearchClient
-
-
Field Summary
-
Fields inherited from interface com.attivio.sdk.client.SearchClient
DEFAULT_SEARCH_WORKFLOW, ENDPOINT
-
-
Constructor Summary
Constructors Constructor Description RemoteSearchClient(java.lang.String host, int port, boolean ssl)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringendpoint(PlatformMessage pm)Determine the destination endpoint (local or remote) based on the messagestatic java.lang.StringgetHttpQueryEndpoint(java.lang.String host, int port, boolean ssl)protected booleanisSSL()voidsetConnectionCredentials(java.lang.String username, java.lang.String password)-
Methods inherited from class com.attivio.client.AbstractSearchClient
getClientWorkflow, getDefaultSchema, getDocumentById, getSchema, search, search, search, setClientWorkflow
-
-
-
-
Method Detail
-
setConnectionCredentials
public void setConnectionCredentials(java.lang.String username, java.lang.String password) throws AttivioException- Throws:
AttivioException
-
endpoint
public java.lang.String endpoint(PlatformMessage pm)
Determine the destination endpoint (local or remote) based on the message- Specified by:
endpointin classAbstractSearchClient
-
isSSL
protected boolean isSSL()
- Specified by:
isSSLin classAbstractSearchClient
-
getHttpQueryEndpoint
public static java.lang.String getHttpQueryEndpoint(java.lang.String host, int port, boolean ssl)
-
-