private CookieSpec createSpec() { return new BestMatchSpec(); }
/** * Returns an array of Apache HttpClient Cookies found in this HttpResponseHeaders, parsed with the * Apache BestMatchSpec implementation. * @return * The array of cookies set */ public Cookie[] getCookies() { return getApacheCookies(new BestMatchSpec()); }