Skip to content

Commit

Permalink
Expose that cookies insert order is kept
Browse files Browse the repository at this point in the history
  • Loading branch information
slandelle committed Nov 26, 2015
1 parent 058f844 commit 0e805db
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client/src/main/java/org/asynchttpclient/Request.java
Expand Up @@ -23,7 +23,6 @@
import java.net.InetAddress;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
import java.util.Collection;
import java.util.List;

import org.asynchttpclient.channel.ChannelPoolPartitioning;
Expand Down Expand Up @@ -74,11 +73,11 @@ public interface Request {
HttpHeaders getHeaders();

/**
* Return Coookie.
* Return cookies.
*
* @return an unmodifiable Collection of Cookies
*/
Collection<Cookie> getCookies();
List<Cookie> getCookies();

/**
* Return the current request's body as a byte array
Expand Down

0 comments on commit 0e805db

Please sign in to comment.