code: private void returnResults() {
      final StringBuilder sb = new StringBuilder();
      for (final String result : this.results) {
        sb.append(result);
      }
      this.results.clear();
      LOG.log(Level.INFO, "Return results to the client:\n{0}", sb);
      httpCallbackHandler.onNext(CODEC.encode(sb.toString()));
    }
docs: Construct the final result and forward it to the Client.