src/java.net.http/share/classes/java/net/http/HttpClient.java
branchhttp-client-branch
changeset 56152 47221b8e3a51
parent 56142 571ba7474214
child 56167 96fa4f49a9ff
equal deleted inserted replaced
56151:eae2b2d7fe52 56152:47221b8e3a51
   164     public static Builder newBuilder() {
   164     public static Builder newBuilder() {
   165         return new HttpClientBuilderImpl();
   165         return new HttpClientBuilderImpl();
   166     }
   166     }
   167 
   167 
   168     /**
   168     /**
   169      * A builder of {@link HttpClient}s.
   169      * A builder of {@linkplain HttpClient HTTP Clients}.
   170      *
   170      *
   171      * <p> Builders are created by invoking {@link HttpClient#newBuilder()
   171      * <p> Builders are created by invoking {@link HttpClient#newBuilder()
   172      * newBuilder}. Each of the setter methods modifies the state of the builder
   172      * newBuilder}. Each of the setter methods modifies the state of the builder
   173      * and returns the same instance. Builders are not thread-safe and should not be
   173      * and returns the same instance. Builders are not thread-safe and should not be
   174      * used concurrently from multiple threads without external synchronization.
   174      * used concurrently from multiple threads without external synchronization.