public class Client
extends AbstractInternalObject
Constructor and Description |
---|
Client(JavaFormula jf) |
Modifier and Type | Method and Description |
---|---|
fRequest |
createRequest()
Creates a new Request object.
|
fResponse |
send(fRequest req)
Send a request and get response from the HTTP server.
|
fResponseArray |
send(fRequestArray req)
Sends a set of requests concurrently.
|
fResponseArray |
send(fRequestArray req,
DbBigInt threads)
Sends a set of requests concurrently.
|
public fRequest createRequest()
public fResponse send(fRequest req)
req,
- the Request object to be sent.public fResponseArray send(fRequestArray req)
req,
- Array of requests.public fResponseArray send(fRequestArray req, DbBigInt threads)
req,
- Array of requests.threads
- Integer, specifies how many concurrent tasks to execute the requests.