Skip to content

Commit 0e805db

Browse files
committed
Expose that cookies insert order is kept
1 parent 058f844 commit 0e805db

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

client/src/main/java/org/asynchttpclient/Request.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import java.net.InetAddress;
2424
import java.nio.ByteBuffer;
2525
import java.nio.charset.Charset;
26-
import java.util.Collection;
2726
import java.util.List;
2827

2928
import org.asynchttpclient.channel.ChannelPoolPartitioning;
@@ -74,11 +73,11 @@ public interface Request {
7473
HttpHeaders getHeaders();
7574

7675
/**
77-
* Return Coookie.
76+
* Return cookies.
7877
*
7978
* @return an unmodifiable Collection of Cookies
8079
*/
81-
Collection<Cookie> getCookies();
80+
List<Cookie> getCookies();
8281

8382
/**
8483
* Return the current request's body as a byte array

0 commit comments

Comments
 (0)