HttpResponse response = HttpRequest .create(new URI("http://www.linux-magazin.de")) .headers("User-Agent", "Java9") .GET() .response(); LOG.info("status : " + response.statusCode()); Map> headers = response.headers().map(); for (String key : headers.keySet()) { LOG.info(key + " : " + headers.get(key)); } String body = response.body(asString()); LOG.info("body : " + body);