resthub/resthub-spring-stack — pull request #79 by bclozel (2012-05-23 21:10:24+00:00)
Title: RESThub HTTP Client refactoring

* added methods to deserialize Java Generics with Jackson TypeReference
* Client should not be all-static because it should be shared amongst requests (because async-http-client creates pools of resources)
* Client configuration (proxy, OAuth2, auth) should be done only once per client
* Client implements Closeable to be used with JDK7 "try-with-resources"
* update tests and Client use