@Override
    public Type getRawType() {
      return Iterator.class;
    }
Iterator based decoder that support streaming.

<p>

<p>Example: <br>

<pre>
<code>
Feign.builder()
  .decoder(StreamDecoder.create(JacksonIteratorDecoder.create()))
  .doNotCloseAfterDecode() // Required for streaming
  .target(GitHub.class, "https://api.github.com");
or
Feign.builder()
  .decoder(StreamDecoder.create(JacksonIteratorDecoder.create(), (r, t) -> "hello world")))
  .doNotCloseAfterDecode() // Required for streaming
  .target(GitHub.class, "https://api.github.com");
interface GitHub {
 {@literal @}RequestLine("GET /repos/{owner}/{repo}/contributors")
  Stream<Contributor> contributors(@Param("owner") String owner, @Param("repo") String repo);
}</code>
</pre>
core/src/main/java/feign/stream/StreamDecoder.java