equal
deleted
inserted
replaced
1056 |
1056 |
1057 CookieAttributeAssignor assignor = assignors.get(attrName.toLowerCase()); |
1057 CookieAttributeAssignor assignor = assignors.get(attrName.toLowerCase()); |
1058 if (assignor != null) { |
1058 if (assignor != null) { |
1059 assignor.assign(cookie, attrName, attrValue); |
1059 assignor.assign(cookie, attrName, attrValue); |
1060 } else { |
1060 } else { |
1061 // must be an error |
1061 // Ignore the attribute as per RFC 2965 |
1062 throw new IllegalArgumentException("Illegal cookie attribute"); |
|
1063 } |
1062 } |
1064 } |
1063 } |
1065 |
1064 |
1066 /* |
1065 /* |
1067 * Constructs a string representation of this cookie. The string format is |
1066 * Constructs a string representation of this cookie. The string format is |