Class ResourceLocator

java.lang.Object
org.ojalgo.netio.ResourceLocator

public final class ResourceLocator extends Object
Locate/fetch resources such as csv, json or text/html.

Started out as something relatively simple built around URL (and related stuff in the java.net package) but grew into a complete http client.

The newer ServiceClient is instead built around the HttpClient introduced with Java 11. Think of ServiceClient as v2 of ResourceLocator, and what you should use for http/https calls.

This class is not (yet) deprecated, but if it is further developed it will not be primarily as an http/https client. The focus will then be on other URL based use cases.