RestOptions

This class supplies options used to invoke Rest Web Services. It is used as an argument for RestServices.

Further documentation.

RestOptions Functions

getConnectionTimeout RestOptions.getConnectionTimeout( )
setConnectionTimeout RestOptions.setConnectionTimeout( connectionTimeout ) Sets the number of seconds to wait to establish a connection with the target rest URL before timing out.
getResponseCharset RestOptions.getResponseCharset( )
setResponseCharset RestOptions.setResponseCharset( responseCharset ) Sets the default charset to be applied when reading the response if the charset is not found in the response header Content-Type.
getSocketTimeout RestOptions.getSocketTimeout( )
setSocketTimeout RestOptions.setSocketTimeout( socketTimeout ) Sets the number of seconds of inactivity to wait from the target REST server before timing out.