Package digilib.io

Class UrlClientFactory


  • public class UrlClientFactory
    extends Object
    Author:
    casties
    • 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
    • Constructor Detail

      • UrlClientFactory

        public UrlClientFactory()
    • 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: