Package com.yahoo.vespa.http.client
Class SessionFactory
java.lang.Object
com.yahoo.vespa.http.client.SessionFactory
Deprecated.
Vespa-http-client will be removed in Vespa 8. It's replaced by vespa-feed-client
Factory for creating
Session
instances.- Author:
- Einar M R Rosenvinge
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SessionFactory
public SessionFactory()Deprecated.
-
-
Method Details
-
create
Deprecated.Creates aSession
with the given parameters.- Parameters:
params
- the parameters to use when creating the Session.- Returns:
- a new Session instance
-
create
Deprecated.Creates aSession
to a singleEndpoint
, with default values for everything. For full control of all parameters, or to feed to more than one Endpoint or more than oneCluster
, seecreate(com.yahoo.vespa.http.client.config.SessionParams)
.- Parameters:
endpoint
- the Endpoint to feed to.- Returns:
- a new Session instance
- See Also:
-