RestOptions.setConnectionTimeout

Sets the number of seconds to wait to establish a connection with the target rest URL before timing out.

Parameters

java.lang.Integer  connectionTimeout,