SRUClientConfig.Builder |
SRUClientConfig.Builder.addExtraResponseDataParser(SRUExtraResponseDataParser parser) |
Add an extra response data parser instance to the list of extra
response data parsers
|
SRUClientConfig.Builder |
SRUClientConfig.Builder.addRecordDataParser(SRURecordDataParser parser) |
Add a record data parser instance to the list of record data parsers
|
SRUClientConfig.Builder |
SRUClientConfig.Builder.setConnectTimeout(int connectTimeout) |
Set the timeout in milliseconds until a connection is established.
|
SRUClientConfig.Builder |
SRUClientConfig.Builder.setCustomizedHttpClient(org.apache.http.impl.client.CloseableHttpClient httpClient) |
Set a customized HTTP client which is to be used.
|
SRUClientConfig.Builder |
SRUClientConfig.Builder.setDefaultVersion(SRUVersion defaultVersion) |
Set the default SRU version to be used.
|
SRUClientConfig.Builder |
SRUClientConfig.Builder.setHttpContext(org.apache.http.client.protocol.HttpClientContext httpContext) |
Optionally set the HTTP context which is to be used by the customized
HTTP client.
|
SRUClientConfig.Builder |
SRUClientConfig.Builder.setRequestAuthenticator(SRURequestAuthenticator requestAuthenticator) |
|
SRUClientConfig.Builder |
SRUClientConfig.Builder.setSocketTimeout(int socketTimeout) |
Set the socket timeout (SO_TIMEOUT ) in milliseconds,
which is the timeout for waiting for data.
|
SRUClientConfig.Builder |
SRUClientConfig.Builder.setThreadCount(int threadCount) |
Set the number of worker threads.
|