Class ServiceClient.Request
java.lang.Object
org.ojalgo.netio.ServiceClient.Request
- All Implemented Interfaces:
BasicLogger.Printable
- Enclosing class:
ServiceClient
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Objectprivate final HttpRequest.Builderprivate final ResourceLocator.KeyedValuesprivate ResourceLocator.Methodprivate HttpRequestprivate final ResourceSpecificationprivate final ServiceClient.Session -
Constructor Summary
ConstructorsConstructorDescriptionRequest(ServiceClient.Session session) Request(ServiceClient.Session session, URI uri) -
Method Summary
Modifier and TypeMethodDescription(package private) HttpRequest.BodyPublisherbody()private voidcopy(ResourceLocator.KeyedValues sessionParameters) booleanexpectContinue(boolean enable) getFormValue(String key) getQueryValue(String key) (package private) HttpRequest(package private) ServiceClient.Session(package private) URIgetURI()inthashCode()method(ResourceLocator.Method method) port(int port) The default (null) value is -1.voidprint(BasicLogger receiver) secure(boolean secure) https or http ?<T> ServiceClient.Response<T> send(HttpResponse.BodyHandler<T> responseBodyHandler) toString()version(HttpClient.Version version)
-
Field Details
-
myBody
-
myBuilder
-
myForm
-
myMethod
-
myRequest
-
myResourceSpecification
-
mySession
-
-
Constructor Details
-
Request
Request(ServiceClient.Session session) -
Request
Request(ServiceClient.Session session, URI uri)
-
-
Method Details
-
body
-
equals
-
expectContinue
-
form
-
form
-
fragment
-
getFormValue
-
getQueryValue
-
hashCode
-
header
-
host
-
method
-
path
-
port
The default (null) value is -1. -
print
- Specified by:
printin interfaceBasicLogger.Printable
-
query
-
query
-
secure
https or http ? -
send
-
timeout
-
toString
-
version
-
copy
-
body
HttpRequest.BodyPublisher body() -
getRequest
HttpRequest getRequest() -
getSession
ServiceClient.Session getSession() -
getURI
URI getURI()
-