File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
http-client/src/main/java/io/avaje/http/client Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -110,9 +110,10 @@ public interface HttpClientRequest {
110
110
HttpClientRequest header (String name , String value );
111
111
112
112
/**
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
114
115
*
115
- * @param name The header name
116
+ * @param name The header name
116
117
* @param value The header value
117
118
* @return The request being built
118
119
*/
@@ -228,7 +229,7 @@ public interface HttpClientRequest {
228
229
HttpClientRequest queryParam (String name , String value );
229
230
230
231
/**
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
232
233
*
233
234
* @param name The name of the query parameter
234
235
* @param value The value of the query parameter which can be null
You can’t perform that action at this time.
0 commit comments