private String readResponseContent(final ClassicHttpResponse response) {

        try (final InputStream inputStream = response.getEntity().getContent()) {
            if (inputStream != null) {
                return NullSafe.trim(IOUtils.toString(inputStream, StandardCharsets.UTF_8));
            }
        } catch (final IOException ioex) {
            LOGGER.debug(ioex.getMessage(), ioex);
        }
        return "";
    }
Checks the response code and stroom status for the connection and attributeMap.
Either returns 200 or throws a {@link StroomStreamException}.

@return The HTTP response code
@throws StroomStreamException if a non-200 response is received
stroom-proxy/stroom-proxy-app/src/main/java/stroom/proxy/app/handler/HttpSender.java