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 classstatic final classThis is actually a wrapper of a future response.static final classWhen 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) booleanfollowRedirects(HttpClient.Redirect policy) static ServiceClient.Response<String> inthashCode()static ServiceClient.Requeststatic ServiceClient.RequestnewRequest(String url) static ServiceClient.Sessionstatic 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
-
get
-
newRequest
-
newRequest
-
newSession
-
post
-
post
-
authenticator
-
connectTimeout
-
equals
-
executor
-
followRedirects
-
getSession
-
hashCode
-
priority
-
proxy
-
sslContext
-
sslParameters
-
version
-