final String text = null == characterEncoding ? new String(bytes) : new String(bytes, characterEncoding);
webResponse.setBody(text);
return webResponse;
} catch (final Exception caught) {
caught.printStackTrace();
throw new FailedWebRequestException(caught.getMessage(), caught);
}
}