hello,
I'm very interested in JEP 418: Internet-Address Resolution SPI, and I was
wondering: if I plugged in my own implementation via service loader, would
it be possible to obtain a reference to the default implementation (the one
that my implementation replaces) for pass-thru resolution?

Ideally,

var url = URl.create( "http://my-service/data";) ;
try (var in = url.openStream()){
 //
}

would route through my implementation (which would know what to do with a
non DNS entry like `my-service`) and then, if my implementation can't
resolve, it gets resolved by the default system DNS resolver

Thanks,
Josh Long
@starbuxman
Spring Developer Advocate, Tanzu
VMware
http://BootifulPodcast.fm
http://ReactiveSpring.io
http://CloudNativeJava.io

Reply via email to