Package com.yahoo.vespa.http.client
Class FeedClientFactory
- java.lang.Object
-
- com.yahoo.vespa.http.client.FeedClientFactory
-
@Deprecated public class FeedClientFactory extends Object
Deprecated.Vespa-http-client will be removed in Vespa 8. It's Vespa-http-client will be removed in Vespa 8. It's replaced by vespa-feed-clientFactory for creating FeedClient.- Author:
- dybis
-
-
Constructor Summary
Constructors Constructor Description FeedClientFactory()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FeedClient
create(SessionParams sessionParams, FeedClient.ResultCallback resultCallback)
Deprecated.Creates a FeedClient.
-
-
-
Method Detail
-
create
public static FeedClient create(SessionParams sessionParams, FeedClient.ResultCallback resultCallback)
Deprecated.Creates a FeedClient. Call this sparingly: Feed clients are expensive and should be as long-lived as possible.- Parameters:
sessionParams
- parameters for connection, hosts, cluster configurations and more.resultCallback
- on each result, this callback is called.- Returns:
- newly created FeedClient API object.
-
-