Different cookie specifications can provide a specific implementation for this class based on their cookie handling rules.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the match is successful; false otherwisethe cookie source to match against origin)Matches the given value (property of the destination host where request is being submitted) with the corresponding cookie attribute. |
| public void | parse(SetCookie
org. to be updatedcookie attribute value from the cookie response header value)Parse the given cookie attribute value and processChallenge the corresponding
|
| public void | validate(Cookie
org. to validatethe cookie source to validate against origin)Performs cookie validation for the given attribute value. |
| match | back to summary |
|---|---|
| public boolean match(Cookie cookie, CookieOrigin origin) Matches the given value (property of the destination host where request is being submitted) with the corresponding cookie attribute.
| |
| parse | back to summary |
|---|---|
| public void parse(SetCookie cookie, String value) throws MalformedCookieException Parse the given cookie attribute value and processChallenge the corresponding
| |
| validate | back to summary |
|---|---|
| public void validate(Cookie cookie, CookieOrigin origin) throws MalformedCookieException Performs cookie validation for the given attribute value.
| |