Package digilib.io
Class UrlClientFactory
- java.lang.Object
-
- digilib.io.UrlClientFactory
-
public class UrlClientFactory extends Object
- Author:
- casties
-
-
Field Summary
Fields Modifier and Type Field Description static String
STORAGE_BASE_URL_KEY
digilib-config key for the CDSTAR base URLstatic String
STORAGE_PASSWORD
static String
STORAGE_PASSWORD_KEY
digilib-config key for the CDSTAR auth passwordstatic String
STORAGE_SCOPE_HOST
static int
STORAGE_SCOPE_PORT
static String
STORAGE_USERNAME
static String
STORAGE_USERNAME_KEY
digilib-config key for the CDSTAR auth user
-
Constructor Summary
Constructors Constructor Description UrlClientFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
configure(DigilibConfiguration dlConfig)
Configures this static UrlClientFactory.static org.apache.http.impl.client.CloseableHttpClient
getHttpClientInstance()
Returns a new HttpClient with Credentials.
-
-
-
Field Detail
-
STORAGE_BASE_URL_KEY
public static final String STORAGE_BASE_URL_KEY
digilib-config key for the CDSTAR base URL- See Also:
- Constant Field Values
-
STORAGE_PASSWORD_KEY
public static final String STORAGE_PASSWORD_KEY
digilib-config key for the CDSTAR auth password- See Also:
- Constant Field Values
-
STORAGE_USERNAME_KEY
public static final String STORAGE_USERNAME_KEY
digilib-config key for the CDSTAR auth user- See Also:
- Constant Field Values
-
STORAGE_USERNAME
public static String STORAGE_USERNAME
-
STORAGE_PASSWORD
public static String STORAGE_PASSWORD
-
STORAGE_SCOPE_HOST
public static String STORAGE_SCOPE_HOST
-
STORAGE_SCOPE_PORT
public static int STORAGE_SCOPE_PORT
-
-
Method Detail
-
configure
public static void configure(DigilibConfiguration dlConfig)
Configures this static UrlClientFactory.- Parameters:
dlConfig
-
-
getHttpClientInstance
public static org.apache.http.impl.client.CloseableHttpClient getHttpClientInstance()
Returns a new HttpClient with Credentials.- Returns:
-
-