@Test public void representationToUtf8() { Representation body = Text("Hello World!"); String actual = HttpObjectUtil.toUtf8(body); assertThat(actual, is("Hello World!")); }
public static String toUtf8(Representation r) { return toString(r, "utf-8"); }
HttpObjectUtil { public static String toUtf8(Representation r) { return toString(r, "utf-8"); } }
HttpObjectUtil { public static String toUtf8(Representation r) { return toString(r, "utf-8"); }  }
HttpObjectUtil { public static String toUtf8(Representation r) { return toString(r, "utf-8"); }  static Response invokeMethod(HttpObject object, final Method m, final Request input); static byte[] toByteArray(Representation r); static String toAscii(Representation r); static String toUtf8(Representation r); static String toString(Representation r, String charsetName); }
HttpObjectUtil { public static String toUtf8(Representation r) { return toString(r, "utf-8"); }  static Response invokeMethod(HttpObject object, final Method m, final Request input); static byte[] toByteArray(Representation r); static String toAscii(Representation r); static String toUtf8(Representation r); static String toString(Representation r, String charsetName);  }