public Request cookie(String key,String value){
  Objects.requireNonNull(key);
  Objects.requireNonNull(value);
  _cookies.put(key,value);
  return this;
}

public Request cookie ( String key , String value ) { Objects . requireNonNull ( key ) ; Objects . requireNonNull ( value ) ; _cookies . put ( key , value ) ; return this ; }
sets a cookie to use with http request
