src/main/java/openjdk/http/tutorial/exercise1/Retrievals.java
branchhttp-client-tutorial
changeset 56017 fc030486080e
parent 56013 08b6eca8daae
child 56018 40e766eb611b
equal deleted inserted replaced
56016:bc8bc0b99add 56017:fc030486080e
    46 import static java.util.stream.Collectors.joining;
    46 import static java.util.stream.Collectors.joining;
    47 import static jdk.incubator.http.HttpClient.Version.*;
    47 import static jdk.incubator.http.HttpClient.Version.*;
    48 import static jdk.incubator.http.HttpResponse.BodyHandler.*;
    48 import static jdk.incubator.http.HttpResponse.BodyHandler.*;
    49 
    49 
    50 /**
    50 /**
       
    51  * The JDK HTTP Client tutorial.
       
    52  *
       
    53  * Consists of a set of exercises that must be completed. Each exercise is
       
    54  * represented as a method, whose method body must be written successfully to
       
    55  * complete the exercise. Each method-level comment describes the particular
       
    56  * exercise, what must be done, and may provide a hint to help complete it.
       
    57  *
       
    58  * The test source tree contains `Exercise1Test` that contains a set of unit
       
    59  * tests, similarly named to the to the methods in this class, that, when
       
    60  * executed, verify that the exercises have been completed successfully ( by
       
    61  * checking the value returned by each exercise ). These can be run through the
       
    62  * Maven Project's `test` target.
       
    63  *
       
    64  *
    51  * @author Chris Hegarty
    65  * @author Chris Hegarty
    52  */
    66  */
    53 public class Retrievals {
    67 public class Retrievals {
    54 
    68 
    55     /**
    69     /**