public CrawlerPack addCookie ( String name , String value ) { if ( null == name ) { log . warn ( "addCookie: Cookie name null." ) ; return this ; } cookies . add ( new Cookie ( "" , name , value ) ) ; return this ; }
Creates a cookie with the given name and value .