MCPcopy Create free account
hub / github.com/grpc/grpc-java / proxyFor

Method proxyFor

api/src/main/java/io/grpc/ProxyDetector.java:61–61  ·  view source on GitHub ↗

Given a target address, returns a proxied address if a proxy should be used. If no proxy should be used, then return value will be null. If the returned ProxiedSocketAddress contains any address that needs to be resolved locally, it should be resolved before it's returned, and th

(SocketAddress targetServerAddress)

Source from the content-addressed store, hash-verified

59 * will resolve it.
60 */
61 @Nullable
62 ProxiedSocketAddress proxyFor(SocketAddress targetServerAddress) throws IOException;
63}

Implementers 4

ProxyDetectorImplcore/src/main/java/io/grpc/internal/Pr
ManagedChannelImplTestcore/src/test/java/io/grpc/internal/Ma
DnsNameResolverTestcore/src/test/java/io/grpc/internal/Dn
GrpcUtilcore/src/main/java/io/grpc/internal/Gr

Calls

no outgoing calls