-
public interface EventListener.FactoryWarning: This is a non-final API.As of OkHttp 3.10, this feature is an unstable preview: the API is subject tochange, and the implementation is incomplete. We expect that OkHttp 3.11 or 3.12 will finalizethis API. Until then, expect API and behavior changes when you update your OkHttpdependency.
-
-
Method Summary
Modifier and Type Method Description abstract EventListenercreate(Call call)Creates an instance of the EventListener for a particular Call. -
-
Method Detail
-
create
abstract EventListener create(Call call)
Creates an instance of the EventListener for a particular Call. The returned EventListener instance will be used during the lifecycle of the
{@code call}.This method is invoked after the
{@code call}is created. See newCall.It is an error for implementations to issue any mutating operations on the
{@code call}instance from this method.
-
-
-
-