8000 - Added new constructor for used to instantiate the Cookie class. · javaxt-project/javaxt-jetty@3738f6a · GitHub
[go: up one dir, main page]

Skip to content

Commit 3738f6a

Browse files
author
pborissow
committed
- Added new constructor for used to instantiate the Cookie class.
git-svn-id: svn://192.168.0.80/JavaXT/javaxt-jetty@849 2c7b0aa6-e0b2-3c4e-bb4a-8b65b6c465ff
1 parent 63a9cdc commit 3738f6a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/javaxt/http/servlet/Cookie.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ public class Cookie {
1515

1616
javax.servlet.http.Cookie cookie;
1717

18+
19+
public Cookie(String name, String value) {
20+
this(new javax.servlet.http.Cookie(name, value));
21+
}
22+
1823
public Cookie(javax.servlet.http.Cookie cookie){
1924
this.cookie = cookie;
2025
}

0 commit comments

Comments
 (0)
0