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 @@ -109,9 +109,10 @@ public interface HttpClientRequest {
109
109
HttpClientRequest header (String name , String value );
110
110
111
111
/**
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
113
114
*
114
- * @param name The header name
115
+ * @param name The header name
115
116
* @param value The header value
116
117
* @return The request being built
117
118
*/
@@ -218,7 +219,7 @@ public interface HttpClientRequest {
218
219
HttpClientRequest queryParam (String name , String value );
219
220
220
221
/**
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
222
223
*
223
224
* @param name The name of the query parameter
224
225
* @param value The value of the query parameter which can be null
You can’t perform that action at this time.
0 commit comments