@Override public String toString(){
  if (getVersion() > 0) {
    return toRFC2965HeaderString();
  }
 else {
    return toNetscapeHeaderString();
  }
}

@ Override public String toString ( ) { if ( getVersion ( ) > 0 ) { return toRFC2965HeaderString ( ) ; } else { return toNetscapeHeaderString ( ) ; } }
constructs a cookie header string representation of this cookie , which is in the format defined by corresponding cookie specification , but without the leading " cookie : " token .
