Skip to content

[Website]: REST 5 Client Common configuration #2120

@tanja-milicic

Description

@tanja-milicic

Type of issue

Inaccurate

What documentation page is affected

https://www.elastic.co/docs/reference/elasticsearch/clients/java/transport/rest5-client/config/timeouts

What happened?

In the documentation we mention the use of org.apache.http.client.config.RequestConfig.Builder instance in REST 5 Client. However, that seems to be outdated and based on the code it should be org.apache.hc.client5.http.config.ConnectionConfig; - example.

Additional info

No response

Metadata

Metadata

Assignees

Labels

Team:DeveloperIssues owned by the Developer Docs Teamsource:webIssues originating from the elastic.co docs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions