private CompletableFuture<Response> send(Method method, String path, Option[] options, Iterator<String> iterator) {
        if (iterator == NO_ITERATOR) {
            return send(method, path, options, IGNORE);
        } else {
            return send(method, path, options, out -> {
                int i = 0;
                while (iterator.hasNext()) {
                    final String it = iterator.next();
                    if (it == null) {
                        throw new NullPointerException(String.format(
                            "Null element at position %d in iterator over strings.",
                            i));
                    } else {
                        out.write(it.getBytes(StandardCharsets.UTF_8));
                    }
                    i++;
                }
            });
        }
    }
Default implementation of the {@link Rest}-interface.

@author  Emil Forslund
@since   1.0.0
common-parent/rest/src/main/java/com/speedment/common/rest/RestImpl.java