Package oracle.stellent.ridc
Class IdcRequestConfig
java.lang.Object
oracle.stellent.ridc.IdcRequestConfig
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
IdcRequestConfigpublic IdcRequestConfig()
 
- 
- 
Method Details- 
setProperties
- 
getPropertyNames
- 
setProperty
- 
getProperty
- 
getConnectTimeoutpublic int getConnectTimeout()Gets the connect timeout- Returns:
 
- 
setConnectTimeoutpublic 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-
 
- 
getReadTimeoutpublic int getReadTimeout()Gets the read timeout- Returns:
 
- 
setReadTimeoutpublic 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
 
-