Package org.ojalgo.netio
Class ServiceClient
java.lang.Object
org.ojalgo.netio.ServiceClient
Make http/https calls.
Based on HttpClient
and somewhat designed after how ResourceLocator
works.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static final class
This is actually a wrapper of a future response.static final class
When you need to make a sequence of calls maintaining some state inbetween calls. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticator
(Authenticator authenticator) connectTimeout
(Duration duration) boolean
followRedirects
(HttpClient.Redirect policy) static ServiceClient.Response
<String> int
hashCode()
static ServiceClient.Request
static ServiceClient.Request
newRequest
(String url) static ServiceClient.Session
static ServiceClient.Response
<String> static ServiceClient.Response
<String> post
(String url, ResourceLocator.KeyedValues body) priority
(int priority) proxy
(ProxySelector proxySelector) sslContext
(SSLContext sslContext) sslParameters
(SSLParameters sslParameters) version
(HttpClient.Version version)
-
Field Details
-
myBuilder
-
-
Constructor Details
-
ServiceClient
public ServiceClient()
-
-
Method Details