| java.lang.Object org.apache.commons.httpclient.cookie.IgnoreCookiesSpec
IgnoreCookiesSpec | public class IgnoreCookiesSpec implements CookieSpec(Code) | | A cookie spec that does nothing. Cookies are neither parsed, formatted nor matched.
It can be used to effectively disable cookies altogether.
since: 3.0 |
Method Summary | |
public boolean | domainMatch(String host, String domain) | public String | formatCookie(Cookie cookie) | public Header | formatCookieHeader(Cookie cookie) | public Header | formatCookieHeader(Cookie[] cookies) | public String | formatCookies(Cookie[] cookies) | public Collection | getValidDateFormats() | public boolean | match(String host, int port, String path, boolean secure, Cookie cookie) | public Cookie[] | match(String host, int port, String path, boolean secure, Cookie[] cookies) Returns an empty
Cookie cookie array. | public Cookie[] | match(String domain, int port, String path, boolean secure, SortedMap cookiesMap) | public Cookie[] | parse(String host, int port, String path, boolean secure, String header) Returns an empty
Cookie cookie array. | public Cookie[] | parse(String host, int port, String path, boolean secure, Header header) Returns an empty
Cookie cookie array. | public void | parseAttribute(NameValuePair attribute, Cookie cookie) Does nothing. | public boolean | pathMatch(String path, String topmostPath) | public void | setValidDateFormats(Collection datepatterns) Does nothing. | public void | validate(String host, int port, String path, boolean secure, Cookie cookie) Does nothing. |
IgnoreCookiesSpec | public IgnoreCookiesSpec()(Code) | | |
parse | public Cookie[] parse(String host, int port, String path, boolean secure, String header) throws MalformedCookieException(Code) | | Returns an empty
Cookie cookie array. All parameters are ignored.
|
setValidDateFormats | public void setValidDateFormats(Collection datepatterns)(Code) | | Does nothing.
|
|
|