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-client
Factory for creating FeedClient.
Author:
dybis
  • Constructor Details

    • FeedClientFactory

      public FeedClientFactory()
      Deprecated.
  • Method Details

    • 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.