Lines Matching refs:ProxyConfig
94 testConnectViaProxy(ProxyConfig.PROXY_SYSTEM_PROPERTY);
98 testConnectViaProxy(ProxyConfig.HTTP_PROXY_SYSTEM_PROPERTY);
102 testConnectViaProxy(ProxyConfig.REQUEST_PARAMETER);
106 testConnectViaProxy(ProxyConfig.CLIENT_PARAMETER);
112 private void testConnectViaProxy(ProxyConfig proxyConfig) throws Exception {
122 proxyConfig.configure(server, httpProxyClient, request);
133 testConnectViaHttpProxyToHttps(ProxyConfig.PROXY_SYSTEM_PROPERTY);
137 testConnectViaHttpProxyToHttps(ProxyConfig.HTTPS_PROXY_SYSTEM_PROPERTY);
141 testConnectViaHttpProxyToHttps(ProxyConfig.CLIENT_PARAMETER);
145 testConnectViaHttpProxyToHttps(ProxyConfig.REQUEST_PARAMETER);
148 private void testConnectViaHttpProxyToHttps(ProxyConfig proxyConfig) throws Exception {
167 proxyConfig.configure(server, httpProxyClient, request);
173 assertEquals("Connect line failure on proxy " + proxyConfig,
183 testParamPreferredOverSystemProperty(ProxyConfig.CLIENT_PARAMETER);
187 testParamPreferredOverSystemProperty(ProxyConfig.REQUEST_PARAMETER);
190 private void testParamPreferredOverSystemProperty(ProxyConfig proxyConfig) throws Exception {
198 proxyConfig.configure(server, client, request);
230 ProxyConfig.REQUEST_PARAMETER.configure(server, httpProxyClient, request);
239 enum ProxyConfig {