You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automatically exhaust response entities returned by ClientResource #968
Currently if the response entity isn't consumed or if exhaust() isn't called explicitly, the connection is blocked.
The idea is to have a default setting that would automatically exhaust() the entity upon release() of the ClientResource. Note that today we only keep track of the latest response, not the history of all calls.
Activity
jlouvel commentedon Oct 24, 2014
Consider using the Autoclosable interface http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html