Skip to content

[Website] [Java Rest 5 client] Text and examples are out of sync #2020

@wilkinsona

Description

@wilkinsona

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?

The text describes using RequestConfigCallback but the example shows a different approach.

Additional info

https://www.elastic.co/docs/reference/elasticsearch/clients/java/transport/rest5-client/config/basic_authentication has a similar problem where it describes HttpClientConfigCallback but the example shows a different approach.

Metadata

Metadata

Labels

Team:DeveloperIssues owned by the Developer Docs Teamcommunitysource: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