Skip to content

Commit 7a772aa

Browse files
committed
Polish javadoc.
1 parent 9e59e92 commit 7a772aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/io/github/nstdio/http/ext/Predicates.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public static Predicate<HttpRequest> uri(URI uri) {
5252
*
5353
* @param name The header name.
5454
* @param value The header value.
55+
* @param <T> The response body type.
5556
*
5657
* @return The {@code Predicate} that matches {@code HttpResponse} with given header.
5758
*/
@@ -66,6 +67,7 @@ public static <T> Predicate<HttpResponse<T>> hasHeader(String name, String value
6667
* The {@code Predicate} that matches only {@code HttpRequest} with given header.
6768
*
6869
* @param name The header name.
70+
* @param <T> The response body type.
6971
*
7072
* @return The {@code Predicate} that matches {@code HttpRequest} with given header.
7173
*/

0 commit comments

Comments
 (0)