title: Method for side effects in Optional<T>?
body: <p>I'm searching for a way to perform a task that may do side effects.</p>
  
  <p>What I'm trying to accomplish is the following:</p>
  
  <pre><code>getOptionalHumanObject()
      .map((Human h1) -&gt; human::getName)
      .do((String name) -&gt; System.out::printLn)
      .do((String name) -&gt; invokeImportentHttpPostRequest(x))
      .map((String name) -&gt; name.length())
      ...
  </code></pre>
  
  <p>For now the only way I thought is using filter/map, do my side effect and return true/same object.</p>
  
  <p>Does Optional class methods are not intend to use for side effects before a terminal operation like ifPresent?</p>