Class ClientProvider


  • public class ClientProvider
    extends Object
    Holds various settings needed for different types of connections
    • Constructor Detail

      • ClientProvider

        public ClientProvider()
    • Method Detail

      • getHttpClientSupplier

        public Supplier<org.apache.http.client.HttpClient> getHttpClientSupplier()
        Returns:
        the httpClientSupplier
      • setHttpClientSupplier

        public void setHttpClientSupplier​(Supplier<org.apache.http.client.HttpClient> httpClientSupplier)
        Parameters:
        httpClientSupplier - the httpClientSupplier to set
      • getUsername

        public String getUsername()
        Returns:
        the username
      • setUsername

        public void setUsername​(String username)
        Parameters:
        username - the username to set
      • getPassword

        public String getPassword()
        Returns:
        the password
      • setPassword

        public void setPassword​(String password)
        Parameters:
        password - the password to set