Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

Commit

Permalink
Issue number:
Browse files Browse the repository at this point in the history
Obtained from:
Submitted by:
Reviewed by:
Making the CookieJar Serializable.

svn path=/trunk/; revision=190
  • Loading branch information
jitendra kotamraju committed Jun 13, 2006
1 parent 6d7d19c commit 8a1dd14
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions jaxrpc-ri/src/com/sun/xml/rpc/client/http/CookieJar.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* $Id: CookieJar.java,v 1.2 2006-04-13 01:26:55 ofung Exp $
* $Id: CookieJar.java,v 1.3 2006-06-13 17:23:42 jitu Exp $
*/

/*
Expand Down Expand Up @@ -39,13 +39,13 @@
*
* @author JAX-RPC Development Team
*/
public class CookieJar {
public class CookieJar implements java.io.Serializable {

// The representation of cookies is relatively simple right now:
// a hash table with key being the domain and the value being
// a vector of cookies for that domain.
// REMIND: create this on demand in the future
private transient Hashtable cookieJar = new Hashtable();
private Hashtable cookieJar = new Hashtable();

/**
* Create a new, empty cookie jar.
Expand Down
4 changes: 2 additions & 2 deletions jaxrpc-ri/src/com/sun/xml/rpc/client/http/HttpCookie.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* $Id: HttpCookie.java,v 1.2 2006-04-13 01:26:57 ofung Exp $
* $Id: HttpCookie.java,v 1.3 2006-06-13 17:23:42 jitu Exp $
*/

/*
Expand Down Expand Up @@ -41,7 +41,7 @@
*
* @author JAX-RPC Development Team
*/
public class HttpCookie {
public class HttpCookie implements java.io.Serializable {

private Date expirationDate = null;
private String nameAndValue;
Expand Down

0 comments on commit 8a1dd14

Please sign in to comment.