> +/** > + * Select internal URL endpoints services > + * > + * @author Ignacio Mulas > + */ > +@Singleton > +public class InternalURL implements EndpointToSupplierInternalURI { > + @Override > + public Supplier<URI> apply(Endpoint input) { > + return Suppliers.ofInstance(input.getInternalURL()); > + } > + > + @Override > + public String toString() { > + return "supplyInternalURL()"; > + }
Formatting is off here, by the way --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/142/files#r7806105