nt" class="externalLink">TimeUnit</a>&nbsp;unit)</span></div>
<div class="block">Set the read timeout.
 <p>
 The value is the timeout to read a response. If the server doesn't respond within the defined timeframe,
 <a href="../ProcessingException.html" title="class in jakarta.ws.rs"><code>ProcessingException</code></a> is thrown with <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent" class="extern