Example usage for org.apache.http.client.fluent Content toString

List of usage examples for org.apache.http.client.fluent Content toString

Introduction

In this page you can find the example usage for org.apache.http.client.fluent Content toString.

Prototype

@Override
    public String toString() 

Source Link

Usage

From source file:net.palette_software.pet.restart.HelperHttpClient.java

static String getPage(String targetURL) throws Exception {
    Request x = Request.Get(targetURL);
    Response y = x.execute();/* w  w  w. ja  v a  2  s .  c  o  m*/
    Content z = y.returnContent();
    return z.toString();
}