title: Using java stream on HTTP Headers
body: <p>Just for practice purposes, I want to use Java 8's <strong>stream</strong> functionality to implement code, where I am looking for a <strong>HTTP header</strong> name and returning the value associated with it.</p>
  
  <p>For example, just say activeResponse is my HttpResponse that is rendered from a url. </p>
  
  <p>Instead of doing:
  <a href="https://i.stack.imgur.com/BenFz.png" rel="nofollow noreferrer">Iterating through headers with a for-loop</a></p>
  
  <p>I want to implement this code using a stream. Any idea how to do this? </p>