public void addAllCloned ( List < Cookie > cookies ) { for ( Cookie cookie : cookies ) { Cookie clone = new Cookie ( cookie ) ; getStore ( ) . addCookie ( clone . getHttpCookie ( ) ) ; } }
Adds all cookies by actually cloning them .