public HttpRequest contentLength(final int value){
  connection.setFixedLengthStreamingMode(value);
  return this;
}

public HttpRequest contentLength ( final int value ) { connection . setFixedLengthStreamingMode ( value ) ; return this ; }
set the ' content - length ' request header to the given value
