Skip to content

Commit 3ecc1bd

Browse files
committed
javadoc
1 parent e1c3546 commit 3ecc1bd

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
@@ -110,9 +110,10 @@ public interface HttpClientRequest {
110110
HttpClientRequest header(String name, String value);
111111

112112
/**
113-
* Add the header to the request implicitly converting the value to a String.
113+
* Add the header to the request implicitly converting the value to a String. If the value is a
114+
* collection then it's values are appended with the same key
114115
*
115-
* @param name The header name
116+
* @param name The header name
116117
* @param value The header value
117118
* @return The request being built
118119
*/
@@ -228,7 +229,7 @@ public interface HttpClientRequest {
228229
HttpClientRequest queryParam(String name, String value);
229230

230231
/**
231-
* Add a query parameter
232+
* Add a query parameter, if value is a collection then it's values are appended with the same key
232233
*
233234
* @param name The name of the query parameter
234235
* @param value The value of the query parameter which can be null

0 commit comments

Comments
 (0)