// Path: cubano-httpeasy/src/main/java/org/concordion/cubano/driver/http/logging/LoggerLogWriter.java
// public class LoggerLogWriter extends LogWriter {
//     static final Logger LOGGER = LoggerFactory.getLogger(HttpEasy.class);
//    
//     @Override
//     public void info(String msg, Object... args) {
//         LOGGER.debug(msg, args);
//     }
// 
//     @Override
//     public void request(String msg, Object... args) {
//         LOGGER.trace(msg, args);
//     }
//     
//     @Override
//     public void response(String msg, Object... args) {
//         LOGGER.trace(msg, args);
//     }
// 
//     @Override
//     public void error(String message, Throwable t) {
//         LOGGER.error(message, t);
//     }
// }


import java.net.Proxy;
import java.net.ProxySelector;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.concordion.cubano.driver.http.logging.LoggerLogWriter;
import com.github.markusbernhardt.proxy.ProxySearch;
import com.github.markusbernhardt.proxy.util.Logger;
package org.concordion.cubano.driver.http;




/**
 * Allows setting of default properties used by all subsequent HttpEasy requests.
 *
 * @author Andrew Sumner
 */
public class HttpEasyDefaults {
    public static final String DEFAULT_PROXY_BYPASS_HOSTS = "localhost,127.0.0.1";

    private static String baseUrl = "";
    private static boolean trustAllCertificates = false;
    private static boolean trustAllHosts = false;
    private static List<String> sensitiveParameters = new ArrayList<>();

    // Request authorisation
    private static String authUser = null;
    private static String authPassword = null;

    // Proxy
    private static ProxyConfiguration proxyConfiguration = ProxyConfiguration.MANUAL;
    private static volatile ProxySelector proxySearch = null;
    private static Proxy proxy = Proxy.NO_PROXY;
    private static String proxyUser = null;
    private static String proxyPassword = null;
    private static boolean bypassProxy = false;
    private static List<String> nonProxyHosts = splitHosts(DEFAULT_PROXY_BYPASS_HOSTS);

    // Logging
// Path: cubano-httpeasy/src/main/java/org/concordion/cubano/driver/http/logging/LoggerLogWriter.java
// public class LoggerLogWriter extends LogWriter {
//     static final Logger LOGGER = LoggerFactory.getLogger(HttpEasy.class);
//    
//     @Override
//     public void info(String msg, Object... args) {
//         LOGGER.debug(msg, args);
//     }
// 
//     @Override
//     public void request(String msg, Object... args) {
//         LOGGER.trace(msg, args);
//     }
//     
//     @Override
//     public void response(String msg, Object... args) {
//         LOGGER.trace(msg, args);
//     }
// 
//     @Override
//     public void error(String message, Throwable t) {
//         LOGGER.error(message, t);
//     }
// }


// Path: cubano-httpeasy/src/main/java/org/concordion/cubano/driver/http/HttpEasyDefaults.java
import java.net.Proxy;
import java.net.ProxySelector;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.concordion.cubano.driver.http.logging.LoggerLogWriter;
import com.github.markusbernhardt.proxy.ProxySearch;
import com.github.markusbernhardt.proxy.util.Logger;

package org.concordion.cubano.driver.http;




/**
 * Allows setting of default properties used by all subsequent HttpEasy requests.
 *
 * @author Andrew Sumner
 */
public class HttpEasyDefaults {
    public static final String DEFAULT_PROXY_BYPASS_HOSTS = "localhost,127.0.0.1";

    private static String baseUrl = "";
    private static boolean trustAllCertificates = false;
    private static boolean trustAllHosts = false;
    private static List<String> sensitiveParameters = new ArrayList<>();

    // Request authorisation
    private static String authUser = null;
    private static String authPassword = null;

    // Proxy
    private static ProxyConfiguration proxyConfiguration = ProxyConfiguration.MANUAL;
    private static volatile ProxySelector proxySearch = null;
    private static Proxy proxy = Proxy.NO_PROXY;
    private static String proxyUser = null;
    private static String proxyPassword = null;
    private static boolean bypassProxy = false;
    private static List<String> nonProxyHosts = splitHosts(DEFAULT_PROXY_BYPASS_HOSTS);

    // Logging
    private static LogWriter defaultLogWriter = new LoggerLogWriter();