title: How can you make BufferedReader.readLine() not hang?
body: <p>Is there a way to make <code>BufferedReader.readLine()</code> not hang?</p>
  
  <p>I'm creating a server that:</p>
  
  <ul>
  <li>Checks if the client has delivered any input.</li>
  <li>If not, it executes other code and eventually loops back to checking the client for input. </li>
  </ul>
  
  <p>How can I check if the client has delivered any input without running <code>readLine()</code>?  If I run <code>readLine()</code>, the thread will hang until input is delivered?</p>