update Response javadocs

This commit is contained in:
javanna 2016-07-13 14:56:53 +02:00 committed by Luca Cavanna
parent e742d65e02
commit b6b92c64c0
1 changed files with 1 additions and 3 deletions

View File

@ -25,14 +25,12 @@ import org.apache.http.HttpHost;
import org.apache.http.HttpResponse; import org.apache.http.HttpResponse;
import org.apache.http.RequestLine; import org.apache.http.RequestLine;
import org.apache.http.StatusLine; import org.apache.http.StatusLine;
import org.apache.http.client.methods.CloseableHttpResponse;
import java.util.Objects; import java.util.Objects;
/** /**
* Holds an elasticsearch response. It wraps the {@link CloseableHttpResponse} response and associates it with * Holds an elasticsearch response. It wraps the {@link HttpResponse} returned 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 Response { public class Response {