public static class Http2SolrClient.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
baseSolrUrl |
Modifier and Type | Method and Description |
---|---|
Http2SolrClient |
build() |
Http2SolrClient.Builder |
connectionTimeout(int connectionTimeOut) |
Http2SolrClient.Builder |
idleTimeout(int idleConnectionTimeout) |
Http2SolrClient.Builder |
maxConnectionsPerHost(int max)
Set maxConnectionsPerHost for http1 connections, maximum number http2 connections is limited by 4
|
Http2SolrClient.Builder |
useHttp1_1(boolean useHttp1_1) |
Http2SolrClient.Builder |
withHttpClient(org.eclipse.jetty.client.HttpClient httpClient) |
Http2SolrClient.Builder |
withSSLConfig(SSLConfig sslConfig) |
protected String baseSolrUrl
public Builder()
public Builder(String baseSolrUrl)
public Http2SolrClient build()
public Http2SolrClient.Builder withHttpClient(org.eclipse.jetty.client.HttpClient httpClient)
public Http2SolrClient.Builder withSSLConfig(SSLConfig sslConfig)
public Http2SolrClient.Builder maxConnectionsPerHost(int max)
public Http2SolrClient.Builder idleTimeout(int idleConnectionTimeout)
public Http2SolrClient.Builder useHttp1_1(boolean useHttp1_1)
public Http2SolrClient.Builder connectionTimeout(int connectionTimeOut)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.