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.String
endpoint(PlatformMessage pm)
Determine the destination endpoint (local or remote) based on the messagestatic java.lang.String
getHttpQueryEndpoint(java.lang.String host, int port, boolean ssl)
protected boolean
isSSL()
void
setConnectionCredentials(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:
endpoint
in classAbstractSearchClient
-
isSSL
protected boolean isSSL()
- Specified by:
isSSL
in classAbstractSearchClient
-
getHttpQueryEndpoint
public static java.lang.String getHttpQueryEndpoint(java.lang.String host, int port, boolean ssl)
-
-