@Deprecated public class AllCookieSpec extends org.apache.commons.httpclient.cookie.CookieSpecBase
Constructor and Description |
---|
AllCookieSpec()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
validate(String host,
int port,
String path,
boolean secure,
org.apache.commons.httpclient.Cookie cookie)
Deprecated.
Performs most common
Cookie validation |
public void validate(String host, int port, String path, boolean secure, org.apache.commons.httpclient.Cookie cookie) throws org.apache.commons.httpclient.cookie.MalformedCookieException
Cookie
validationvalidate
in interface org.apache.commons.httpclient.cookie.CookieSpec
validate
in class org.apache.commons.httpclient.cookie.CookieSpecBase
host
- the host from which the Cookie
was receivedport
- the port from which the Cookie
was receivedpath
- the path from which the Cookie
was receivedsecure
- true when the Cookie
was received using a secure connectioncookie
- The cookie to validate.org.apache.commons.httpclient.cookie.MalformedCookieException
- if an exception occurs during validation