diff --git a/src/java.net.http/share/classes/java/net/http/HttpClient.java b/src/java.net.http/share/classes/java/net/http/HttpClient.java index fbd2e2aba3695..59afff013c720 100644 --- a/src/java.net.http/share/classes/java/net/http/HttpClient.java +++ b/src/java.net.http/share/classes/java/net/http/HttpClient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -389,6 +389,8 @@ public interface Builder { * the {@link Authenticator} is not invoked for the corresponding * authentication. In this case, any authentication errors are returned * to the user and requests are not automatically retried. + * Additionally, the JDK built-in implementation currently only supports HTTP + * {@code Basic} authentication. * * @param authenticator the Authenticator * @return this builder