Package org.ojalgo.netio
Class ServiceClient.Request
java.lang.Object
org.ojalgo.netio.ServiceClient.Request
- All Implemented Interfaces:
BasicLogger.Printable
- Enclosing class:
ServiceClient
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Object
private final HttpRequest.Builder
private final ResourceLocator.KeyedValues
private ResourceLocator.Method
private HttpRequest
private final ResourceSpecification
private final ServiceClient.Session
-
Constructor Summary
ConstructorsConstructorDescriptionRequest
(ServiceClient.Session session) Request
(ServiceClient.Session session, URI uri) -
Method Summary
Modifier and TypeMethodDescription(package private) HttpRequest.BodyPublisher
body()
private void
copy
(ResourceLocator.KeyedValues sessionParameters) boolean
expectContinue
(boolean enable) getFormValue
(String key) getQueryValue
(String key) (package private) HttpRequest
(package private) ServiceClient.Session
(package private) URI
getURI()
int
hashCode()
method
(String method, HttpRequest.BodyPublisher bodyPublisher) method
(ResourceLocator.Method method) port
(int port) The default (null) value is -1.void
print
(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
public int hashCode() -
header
-
host
-
method
-
method
-
path
-
port
The default (null) value is -1. -
print
- Specified by:
print
in 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()
-