Michael McMahon <michael.x.mcmahon@...> writes: > A new revision of the Http client API planned for jdk 8 can be viewed > at the following link > > http://cr.openjdk.java.net/~michaelm/httpclient/v0.3/ > > We would like to review the api on this mailing list. > So, all comments are welcome.
Can you separate the domain objects (in particular HttpClient, HttpRequest) and their set-up (all the mutators) into separate concerns (Builders perhaps, see Guava for instance)? It'd be nice to have this all thread-safe by default, it seems creating an API that isn't thread-safe is maybe not ideal. cheers, Jed Wesley-Smith