code: public RequestHeader withUri(URI uri) {
          return new RequestHeader(method, uri, protocol, acceptedResponseProtocols, principal, headers, lowercaseHeaders);
      }
docs: Return a copy of this request header with the given uri set.
  
  @param uri The uri to set.
  @return A copy of this request header.