Uses of Interface
ai.vespa.feed.client.FeedClientBuilder
-
Uses of FeedClientBuilder in ai.vespa.feed.client
Modifier and TypeMethodDescriptionFeedClientBuilder.addRequestHeader
(String name, String value) Adds HTTP request header to all client requests.FeedClientBuilder.addRequestHeader
(String name, Supplier<String> valueSupplier) Adds HTTP request header to all client requests.static FeedClientBuilder
Creates a builder for a single container endpointstatic FeedClientBuilder
Creates a builder for multiple container endpointsFeedClientBuilder.noBenchmarking()
Turns off benchmarking.FeedClientBuilder.setCaCertificates
(Collection<X509Certificate> caCertificates) Overrides JVM default SSL truststoreFeedClientBuilder.setCaCertificatesFile
(Path caCertificatesFile) Overrides JVM default SSL truststoreFeedClientBuilder.setCertificate
(Path certificatePemFile, Path privateKeyPemFile) Sets path to client SSL certificate/key PEM filesFeedClientBuilder.setCertificate
(X509Certificate certificate, PrivateKey privateKey) Sets client SSL certificate/keyFeedClientBuilder.setCertificate
(Collection<X509Certificate> certificate, PrivateKey privateKey) Sets client SSL certificates/keyFeedClientBuilder.setCircuitBreaker
(FeedClient.CircuitBreaker breaker) Overrides default circuit breaker.FeedClientBuilder.setConnectionsPerEndpoint
(int max) Sets the number of connections this client will use per endpoint.FeedClientBuilder.setDryrun
(boolean enabled) Turns on dryrun mode, where each operation succeeds after a given delay, rather than being sent across the network.FeedClientBuilder.setEndpointUris
(List<URI> endpoints) Overrides endpoint URIs for this clientFeedClientBuilder.setHostnameVerifier
(HostnameVerifier verifier) SetsHostnameVerifier
instance (e.g for disabling default SSL hostname verification).FeedClientBuilder.setMaxStreamPerConnection
(int max) Sets the maximum number of streams per HTTP/2 connection for this client.Specify HTTP(S) proxy for all endpointsFeedClientBuilder.setRetryStrategy
(FeedClient.RetryStrategy strategy) Overrides default retry strategy.FeedClientBuilder.setSpeedTest
(boolean enabled) Turns on speed test mode, where all feed operations are immediately acknowledged by the server.FeedClientBuilder.setSslContext
(SSLContext context) SetsSSLContext
instance.Modifier and TypeMethodDescriptionstatic void
FeedClientBuilder.setFeedClientBuilderSupplier
(Supplier<FeedClientBuilder> supplier) Override FeedClientBuilder.