common/src/main/java/HTTPClient/CookieModule.java
/**
     * Add the specified cookie to the list of cookies for the specified
     * context. If a compatible cookie (as defined by
     * <var>Cookie.equals()</var>) already exists in the list then it is
     * replaced with the new cookie.
     *
     * @param cookie  the cookie to add
     * @param context the context Object.
     * @since V0.3-1
     */
Add the specified cookie to the list of cookies for the specified
context. If a compatible cookie (as defined by
Cookie.equals()) already exists in the list then it is
replaced with the new cookie.

@param cookie  the cookie to add
@param context the context Object.
Add the specified cookie to the list of cookies for the specified context . If a compatible cookie ( as defined by Cookie . equals () ) already exists in the list then it is replaced with the new cookie . @param cookie the cookie to add @param context the context Object .
@SuppressWarnings("unchecked")
    public static void addCookie(Cookie cookie, Object context)
    {
	Hashtable cookie_list = Util.getList(cookie_cntxt_list, context);
	cookie_list.put(cookie, cookie);
    }
@ SuppressWarnings ( "unchecked" ) public static void addCookie ( Cookie cookie , Object context ) { Hashtable cookie_list = Util . getList ( cookie_cntxt_list , context ) ; cookie_list . put ( cookie , cookie ) ; }
Add the specified cookie to the list of cookies for the specified
 context.
Add the specified cookie to the list of cookies for the specified context .