Home
last modified time | relevance | path

Searched refs:proxyAddress (Results 1 – 13 of 13) sorted by relevance

/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DProxyParameters.java28 public final InetSocketAddress proxyAddress; field in ProxyParameters
34 InetSocketAddress proxyAddress, in ProxyParameters() argument
37 Preconditions.checkNotNull(proxyAddress); in ProxyParameters()
40 Preconditions.checkState(!proxyAddress.isUnresolved()); in ProxyParameters()
41 this.proxyAddress = proxyAddress; in ProxyParameters()
52 return Objects.equal(proxyAddress, that.proxyAddress) in equals()
59 return Objects.hashCode(proxyAddress, username, password); in hashCode()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DRouteSelector.java159 SocketAddress proxyAddress = proxy.address(); in resetNextInetSocketAddress() local
160 if (!(proxyAddress instanceof InetSocketAddress)) { in resetNextInetSocketAddress()
162 "Proxy.address() is not an " + "InetSocketAddress: " + proxyAddress.getClass()); in resetNextInetSocketAddress()
164 InetSocketAddress proxySocketAddress = (InetSocketAddress) proxyAddress; in resetNextInetSocketAddress()
DAuthenticatorAdapter.java69 InetSocketAddress proxyAddress = (InetSocketAddress) proxy.address(); in authenticateProxy() local
71 proxyAddress.getHostName(), getConnectToInetAddress(proxy, url), proxyAddress.getPort(), in authenticateProxy()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DRouteSelector.java156 SocketAddress proxyAddress = proxy.address(); in resetNextInetSocketAddress() local
157 if (!(proxyAddress instanceof InetSocketAddress)) { in resetNextInetSocketAddress()
159 "Proxy.address() is not an " + "InetSocketAddress: " + proxyAddress.getClass()); in resetNextInetSocketAddress()
161 InetSocketAddress proxySocketAddress = (InetSocketAddress) proxyAddress; in resetNextInetSocketAddress()
DAuthenticatorAdapter.java67 InetSocketAddress proxyAddress = (InetSocketAddress) proxy.address(); in authenticateProxy() local
69 proxyAddress.getHostName(), getConnectToInetAddress(proxy, url), proxyAddress.getPort(), in authenticateProxy()
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpClientTransport.java470 address, proxy.proxyAddress, proxy.username, proxy.password); in start()
530 private Socket createHttpProxySocket(InetSocketAddress address, InetSocketAddress proxyAddress, in createHttpProxySocket() argument
535 if (proxyAddress.getAddress() != null) { in createHttpProxySocket()
536 sock = new Socket(proxyAddress.getAddress(), proxyAddress.getPort()); in createHttpProxySocket()
538 sock = new Socket(proxyAddress.getHostName(), proxyAddress.getPort()); in createHttpProxySocket()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DProtocolNegotiators.java193 public static ProtocolNegotiator httpProxy(final SocketAddress proxyAddress,
196 Preconditions.checkNotNull(proxyAddress, "proxyAddress");
203 proxyHandler = new HttpProxyHandler(proxyAddress);
205 proxyHandler = new HttpProxyHandler(proxyAddress, proxyUsername, proxyPassword);
DNettyChannelBuilder.java565 proxyParams.proxyAddress, proxyParams.username, proxyParams.password, negotiator); in create()
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/
DHttpURLConnectionImpl.java281 InetSocketAddress proxyAddress = (InetSocketAddress) client.getProxy().address(); in getPermission() local
282 hostName = proxyAddress.getHostName(); in getPermission()
283 hostPort = proxyAddress.getPort(); in getPermission()
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DHttpURLConnectionImpl.java277 InetSocketAddress proxyAddress = (InetSocketAddress) client.getProxy().address(); in getPermission() local
278 hostName = proxyAddress.getHostName(); in getPermission()
279 hostPort = proxyAddress.getPort(); in getPermission()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DProxyDetectorImplTest.java151 assertFalse(proxy.proxyAddress.isUnresolved()); in unresolvedProxyAddressBecomesResolved()
/external/grpc-grpc-java/netty/shaded/
Dgrpc-netty-shaded-1.14.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...
/external/grpc-grpc-java/core/
Dgrpc-core-1.14.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...