square / okhttp

Square’s meticulous HTTP client for the JVM, Android, and GraalVM.

Home Page:https://square.github.io/okhttp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

okhttp3.sse.EventSourceListener should be an interface

arkanovicz opened this issue · comments

Why is okhttp3.sse.EventSourceListener an abstract class, and not an interface?

Maybe there is a reason I am unaware of, otherwise the logical pattern would be to have an interface, here.

It predates interfaces with default implementations.

We can't change it now, so closing this.