Skip to content

Commit 02b8db4

Browse files
committed
doc
1 parent fbe59f5 commit 02b8db4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

http-client/src/main/java/io/avaje/http/client/HttpClientRequest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,10 @@ public interface HttpClientRequest {
109109
HttpClientRequest header(String name, String value);
110110

111111
/**
112-
* Add the header to the request implicitly converting the value to a String.
112+
* Add the header to the request implicitly converting the value to a String. If the value is a
113+
* collection then it's values are appended with the same key
113114
*
114-
* @param name The header name
115+
* @param name The header name
115116
* @param value The header value
116117
* @return The request being built
117118
*/
@@ -218,7 +219,7 @@ public interface HttpClientRequest {
218219
HttpClientRequest queryParam(String name, String value);
219220

220221
/**
221-
* Add a query parameter
222+
* Add a query parameter, if value is a collection then it's values are appended with the same key
222223
*
223224
* @param name The name of the query parameter
224225
* @param value The value of the query parameter which can be null

0 commit comments

Comments
 (0)