|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.httpclient.cookie.CookieSpecBase
com.sun.faban.driver.transport.hc3.FabanCookieSpec
public class FabanCookieSpec
The Faban cookie spec is even more liberal than Apache's CookieSpecBase. It allows cookies with invalid paths to pass.
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.httpclient.cookie.CookieSpecBase |
|---|
LOG |
| Fields inherited from interface org.apache.commons.httpclient.cookie.CookieSpec |
|---|
PATH_DELIM, PATH_DELIM_CHAR |
| Constructor Summary | |
|---|---|
FabanCookieSpec()
|
|
| Method Summary | |
|---|---|
void |
validate(String host,
int port,
String path,
boolean secure,
org.apache.commons.httpclient.Cookie cookie)
Performs most common Cookie validation |
| Methods inherited from class org.apache.commons.httpclient.cookie.CookieSpecBase |
|---|
domainMatch, formatCookie, formatCookieHeader, formatCookieHeader, formatCookies, getValidDateFormats, match, match, parse, parse, parseAttribute, pathMatch, setValidDateFormats |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FabanCookieSpec()
| Method Detail |
|---|
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 validation
validate in interface org.apache.commons.httpclient.cookie.CookieSpecvalidate in class org.apache.commons.httpclient.cookie.CookieSpecBasehost - 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||