public class Loop54Settings
extends java.lang.Object
Constructor and Description |
---|
Loop54Settings(java.lang.String endpoint,
java.lang.String apiKey)
Forwards to
Loop54Settings(String, String, boolean, int) , with HTTPS enabled, and a request
timeout of 10 seconds. |
Loop54Settings(java.lang.String endpoint,
java.lang.String apiKey,
boolean requireHttps,
int requestTimeoutMs) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApiKey() |
java.lang.String |
getEndpoint() |
int |
getRequestTimeoutMs() |
boolean |
getRequireHttps() |
public Loop54Settings(java.lang.String endpoint, java.lang.String apiKey, boolean requireHttps, int requestTimeoutMs)
endpoint
- The endpoint of the Loop54 search engine. If you don't have this please contact customer support.apiKey
- The api key authenticating you as a trusted caller. If you don't have this please contact customer support.requireHttps
- Whether to enforce the use of HTTPS. If this is true the endpoint must use the HTTPS protocol.requestTimeoutMs
- How long to wait, in milliseconds, for the Loop54 search engine before failing.public Loop54Settings(java.lang.String endpoint, java.lang.String apiKey)
Loop54Settings(String, String, boolean, int)
, with HTTPS enabled, and a request
timeout of 10 seconds.endpoint
- The endpoint of the Loop54 search engine. If you don't have this please contact customer support.apiKey
- The api key authenticating you as a trusted caller. If you don't have this please contact customer support.public java.lang.String getEndpoint()
public java.lang.String getApiKey()
public boolean getRequireHttps()
public int getRequestTimeoutMs()