resthub / resthub-spring-stack

RESThub Spring stack
http://resthub.org/spring-stack.html
Other
121 stars 66 forks source link

add method to get native AHC client on RESThub's wrapper client #106

Closed bclozel closed 12 years ago

bclozel commented 12 years ago

Several users asked a way to leverage advanced AHC functionnalities. The problem is: if we proxify too many methods to AHC, then we expose way too much and our Client does not simplify the developers' job anymore.

So I'll add a getNativeClient() method that returns AHC client for advanced users that want to use advanded functionalities (for example: send multipart requests with addBodyPart()).