code: public HttpRequest withCookie(String name, String value) {
          this.cookies.withEntry(name, value);
          return this;
      }
docs: Adds one cookie to match on, which can specified using either plain strings or regular expressions
  (for more details of the supported regex syntax see http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html)
  
  @param name  the cookies name
  @param value the cookies value