public class ClientOptions extends BaseObject
Modifier and Type | Field and Description |
---|---|
private integer |
numRetries
How many retries of the same request should be attempted.
|
private decimal |
pauseBetweenRetry
The number of seconds (incl.
|
private decimal |
requestTimeout
Defines the maximum time a request must take.
|
Constructor and Description |
---|
ClientOptions() |
Modifier and Type | Method and Description |
---|---|
void |
__net_http_ClientOptions_constructor__()
Constructor.
|
void |
__net_http_ClientOptions_execute__()
Execute method.
|
integer |
getNumRetries()
Get the number of retries.
|
decimal |
getPauseBetweenRetry()
Get the number of seconds between retries.
|
decimal |
getRequestTimeout()
Get the maximum time a request must take.
|
void |
setNumRetries(integer _piValue)
Set the number of retries.
|
void |
setPauseBetweenRetry(decimal _pdValue)
Set the number of seconds between retries.
|
void |
setRequestTimeout(decimal _pdValue)
Set the maximum time a request must take.
|
__lang_BaseObject_constructor__, __lang_BaseObject_execute__, assertNotNull, assertNotNull, clone, getLegacyClass, getNextSibling, getPrevSibling, legacyEquals, toLegacyString
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isTracked
private integer numRetries
private decimal pauseBetweenRetry
private decimal requestTimeout
public void __net_http_ClientOptions_execute__()
public integer getNumRetries()
public void setNumRetries(integer _piValue)
_piValue
- the number of retries.public decimal getPauseBetweenRetry()
public void setPauseBetweenRetry(decimal _pdValue)
_pdValue
- the number of seconds between retries.public decimal getRequestTimeout()
public void setRequestTimeout(decimal _pdValue)
_pdValue
- the maximum time a request must take.public void __net_http_ClientOptions_constructor__()