code: private String toNetscapeHeaderString() {
          StringBuilder sb = new StringBuilder();
  
          sb.append(getName() + "=" + getValue());
  
          return sb.toString();
      }
docs: /*
  Constructs a string representation of this cookie. The string format is
  as Netscape spec, but without leading "Cookie:" token.