Package com.atlan.net
Class RequestOptions
java.lang.Object
com.atlan.net.RequestOptions
Class to encapsulate all the options that can be overridden on individual API calls.
For the moment, only
getDefault()
is used (behind-the-scenes), but this would provide the foundation
to open up per-request variations of things like the maximum number of retries to allow.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
from
(AtlanClient client) Returns a new set of request options, initialized from the values set in the provided client.int
static RequestOptions
Returns a default set of request options, using the global settings of the SDK.int
int
int
hashCode()
-
Method Details
-
getDefault
Returns a default set of request options, using the global settings of the SDK.- Returns:
- default request options
-
from
Returns a new set of request options, initialized from the values set in the provided client.- Parameters:
client
- from which to initialize the options- Returns:
- a new set of request options
-
builder
-
toBuilder
-
getConnectTimeout
public int getConnectTimeout() -
getReadTimeout
public int getReadTimeout() -
getMaxNetworkRetries
public int getMaxNetworkRetries() -
getConnectionProxy
-
getProxyCredential
-
getExtraHeaders
-
equals
-
canEqual
-
hashCode
public int hashCode()
-