equal
deleted
inserted
replaced
44 import java.util.stream.Stream; |
44 import java.util.stream.Stream; |
45 import static java.lang.System.err; |
45 import static java.lang.System.err; |
46 |
46 |
47 /* |
47 /* |
48 * @test |
48 * @test |
49 * @summary An example on how to read a response body with InputStream... |
49 * @summary An example on how to read a response body with InputStream. |
50 * @run main/othervm -Dtest.debug=true HttpInputStreamTest |
50 * @run main/manual -Dtest.debug=true HttpInputStreamTest |
51 * @author daniel fuchs |
51 * @author daniel fuchs |
52 */ |
52 */ |
53 public class HttpInputStreamTest { |
53 public class HttpInputStreamTest { |
54 |
54 |
55 public static boolean DEBUG = Boolean.getBoolean("test.debug"); |
55 public static boolean DEBUG = Boolean.getBoolean("test.debug"); |