HTTPCLIENT-1704: IgnoreSpec#match to always return false

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1719950 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Kalnichevski 2015-12-14 16:27:26 +00:00
parent 1c151cf38a
commit 79fdcb7dcb
1 changed files with 5 additions and 0 deletions

View File

@ -55,6 +55,11 @@ public class IgnoreSpec extends CookieSpecBase {
return Collections.emptyList();
}
@Override
public boolean match(final Cookie cookie, final CookieOrigin origin) {
return false;
}
@Override
public List<Header> formatCookies(final List<Cookie> cookies) {
return Collections.emptyList();