Package oracle.stellent.ridc
Class IdcRequestConfig
java.lang.Object
oracle.stellent.ridc.IdcRequestConfig
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleangetBooleanProperty(String name, boolean defaultValue) intGets the connect timeoutprotected intgetIntProperty(String name, int defaultValue) protected longgetLongProperty(String name, long defaultValue) getProperty(String name) intGets the read timeoutprotected StringgetStringProperty(String name, String defaultValue) voidsetConnectTimeout(int timeout) Sets a specified timeout value, in milliseconds, to be used when opening a connection The maximum time allowed to make a connectionvoidsetProperties(Map<String, String> properties) voidsetProperty(String name, String value) voidsetReadTimeout(int timeout) Sets a specified timeout value, in milliseconds, to be used when waiting for response data The longest period allowed for socket inactivity on reading response
-
Field Details
-
PROP_CONNECT_TIMEOUT
- See Also:
-
PROP_READ_TIMEOUT
- See Also:
-
-
Constructor Details
-
IdcRequestConfig
public IdcRequestConfig()
-
-
Method Details
-
setProperties
-
getPropertyNames
-
setProperty
-
getProperty
-
getConnectTimeout
public int getConnectTimeout()Gets the connect timeout- Returns:
-
setConnectTimeout
public void setConnectTimeout(int timeout) Sets a specified timeout value, in milliseconds, to be used when opening a connection The maximum time allowed to make a connection- Parameters:
timeout-
-
getReadTimeout
public int getReadTimeout()Gets the read timeout- Returns:
-
setReadTimeout
public void setReadTimeout(int timeout) Sets a specified timeout value, in milliseconds, to be used when waiting for response data The longest period allowed for socket inactivity on reading response- Parameters:
timeout-
-
getStringProperty
-
getIntProperty
-
getLongProperty
-
getBooleanProperty
-