Package com.loop54
Class Loop54Settings
java.lang.Object
com.loop54.Loop54Settings
Global settings for the Loop54 e-commerce search engine setup.
-
Constructor Summary
ConstructorsConstructorDescriptionLoop54Settings(String endpoint, String apiKey) Forwards toLoop54Settings(String, String, boolean, int), with HTTPS enabled, and a request timeout of 10 seconds.Loop54Settings(String endpoint, String apiKey, boolean requireHttps, int requestTimeoutMs) -
Method Summary
Modifier and TypeMethodDescriptionintboolean
-
Constructor Details
-
Loop54Settings
- Parameters:
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.
-
Loop54Settings
Forwards toLoop54Settings(String, String, boolean, int), with HTTPS enabled, and a request timeout of 10 seconds.- Parameters:
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.
-
-
Method Details
-
getEndpoint
- Returns:
- The endpoint of the Loop54 search engine.
-
getApiKey
- Returns:
- The api key authenticating you as a trusted caller.
-
getRequireHttps
public boolean getRequireHttps()- Returns:
- Whether to enforce the use of HTTPS. If this is true the endpoint must use the HTTPS protocol.
-
getRequestTimeoutMs
public int getRequestTimeoutMs()- Returns:
- How long to wait, in milliseconds, for the Loop54 search engine before failing.
-