private void logConnectionToDebug() {
        LOGGER.debug(() -> LogUtil.message("About to connect to {} with " +
                                           "requestMethod: {}, " +
                                           "contentType: {}, " +
                                           "timeout: {}, " +
                                           "connectionTimeout: {}, " +
                                           "connectionRequestTimeout: {}, " +
                                           "timeToLive: {}, " +
                                           "useCompression: {}, " +
                                           "compressionMethod: {}, " +
                                           "forwardChunkSize: {}, " +
                                           "request properties:\n{}",
                forwardUrl,
                requestMethod,
                contentType,
                timeout,
                connectionTimeout,
                connectionRequestTimeout,
                timeToLive,
                outputStreamSupport.isUseCompression(),
                outputStreamSupport.getCompressionMethod(),
                forwardChunkSize,
                NullSafe.map(requestProperties)
                        .entrySet()
                        .stream()
                        .map(entry -> "  "
                                      + entry.getKey() + ": ["
                                      + String.join(", ", NullSafe.set(entry.getValue()))
                                      + "]")
                        .collect(Collectors.joining("\n"))));
    }
Handler class that forwards the request to a URL.
stroom-pipeline/src/main/java/stroom/pipeline/writer/HTTPAppender.java