public void add ( final URI uri , final HttpCookie cookie ) { if ( cookie . getMaxAge ( ) == 0 ) { return ; } if ( cookie . getDomain ( ) != null ) { add ( new DomainKey ( cookie ) , cookie ) ; } if ( uri != null ) { add ( new UriKey ( uri , cookie ) , cookie ) ; } }
public cookie store api