Package digilib.io
Class UrlClientFactory
java.lang.Object
digilib.io.UrlClientFactory
- Author:
- casties
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
configure
(DigilibConfiguration dlConfig) Configures this static UrlClientFactory.static org.apache.http.impl.client.CloseableHttpClient
Returns a new HttpClient with Credentials.
-
Field Details
-
STORAGE_BASE_URL_KEY
digilib-config key for the CDSTAR base URL- See Also:
-
STORAGE_PASSWORD_KEY
digilib-config key for the CDSTAR auth password- See Also:
-
STORAGE_USERNAME_KEY
digilib-config key for the CDSTAR auth user- See Also:
-
STORAGE_USERNAME
-
STORAGE_PASSWORD
-
STORAGE_SCOPE_HOST
-
STORAGE_SCOPE_PORT
public static int STORAGE_SCOPE_PORT
-
-
Constructor Details
-
UrlClientFactory
public UrlClientFactory()
-
-
Method Details
-
configure
Configures this static UrlClientFactory.- Parameters:
dlConfig
-
-
getHttpClientInstance
public static org.apache.http.impl.client.CloseableHttpClient getHttpClientInstance()Returns a new HttpClient with Credentials.- Returns:
-