Skip to content

Commit 87bc5cb

Browse files
authored
Fix incorrect code in ApacheHttpClient.Builder docs. (#3527)
1 parent dd0c987 commit 87bc5cb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

http-clients/apache-client/src/main/java/software/amazon/awssdk/http/apache/ApacheHttpClient.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,10 @@ public String clientName() {
333333
* client builder for more information on configuring the HTTP layer.
334334
*
335335
* <pre class="brush: java">
336-
* SdkHttpClient httpClient = SdkHttpClient.builder()
337-
* .socketTimeout(Duration.ofSeconds(10))
338-
* .build();
336+
* SdkHttpClient httpClient =
337+
* ApacheHttpClient.builder()
338+
* .socketTimeout(Duration.ofSeconds(10))
339+
* .build();
339340
* </pre>
340341
*/
341342
public interface Builder extends SdkHttpClient.Builder<ApacheHttpClient.Builder> {

0 commit comments

Comments
 (0)