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

Method resolve

xds/src/main/java/io/grpc/xds/RbacFilter.java:357–363  ·  view source on GitHub ↗
(CidrRange cidrRange)

Source from the content-addressed store, hash-verified

355 }
356
357 private static InetAddress resolve(CidrRange cidrRange) {
358 try {
359 return InetAddress.getByName(cidrRange.getAddressPrefix());
360 } catch (UnknownHostException ex) {
361 throw new IllegalArgumentException("IP address can not be found: " + ex);
362 }
363 }
364}
365

Callers 2

createSourceIpMatcherMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected