branch | http-client-branch |
changeset 56166 | 56c52d6417d1 |
parent 56092 | fd85b2bf2b0d |
child 56185 | f195e5048667 |
--- a/src/java.net.http/share/classes/jdk/internal/net/http/common/HttpHeadersImpl.java Thu Feb 22 17:33:21 2018 +0000 +++ b/src/java.net.http/share/classes/jdk/internal/net/http/common/HttpHeadersImpl.java Fri Feb 23 16:25:32 2018 +0000 @@ -70,4 +70,8 @@ values.add(value); headers.put(name, values); } + + public void clear() { + headers.clear(); + } }