add javadocs on closing responses

This commit is contained in:
javanna 2016-06-01 10:51:51 +02:00 committed by Luca Cavanna
parent 83c6e736de
commit c9db111387

View File

@ -32,7 +32,8 @@ import java.util.Objects;
/**
* Holds an elasticsearch response. It wraps the {@link CloseableHttpResponse} response and associates it with
* its corresponding {@link RequestLine} and {@link HttpHost}
* its corresponding {@link RequestLine} and {@link HttpHost}.
* It must be closed to free any resource held by it, as well as the corresponding connection in the connection pool.
*/
public class ElasticsearchResponse implements Closeable {