move sniff related stuff to sniff package

This commit is contained in:
javanna 2016-05-04 17:06:30 +02:00 committed by Luca Cavanna
parent ce663e9703
commit a472544ab4
4 changed files with 11 additions and 4 deletions

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.client;
package org.elasticsearch.client.sniff;
import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.core.JsonParser;
@ -32,6 +32,8 @@ import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.util.EntityUtils;
import org.elasticsearch.client.ElasticsearchResponseException;
import org.elasticsearch.client.RequestLogger;
import java.io.IOException;
import java.io.InputStream;

View File

@ -17,13 +17,15 @@
* under the License.
*/
package org.elasticsearch.client;
package org.elasticsearch.client.sniff;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.http.HttpHost;
import org.apache.http.client.config.RequestConfig;
import org.apache.http.impl.client.CloseableHttpClient;
import org.elasticsearch.client.AbstractStaticConnectionPool;
import org.elasticsearch.client.StatefulConnection;
import java.io.IOException;
import java.util.Iterator;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.client;
package org.elasticsearch.client.sniff;
import com.carrotsearch.randomizedtesting.generators.RandomInts;
import com.carrotsearch.randomizedtesting.generators.RandomPicks;
@ -33,6 +33,9 @@ import org.apache.http.client.config.RequestConfig;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClientBuilder;
import org.apache.lucene.util.LuceneTestCase;
import org.elasticsearch.client.ElasticsearchResponseException;
import org.elasticsearch.client.sniff.Sniffer;
import org.elasticsearch.client.sniff.SniffingConnectionPool;
import org.junit.After;
import org.junit.Before;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.client;
package org.elasticsearch.client.sniff;
import com.carrotsearch.randomizedtesting.generators.RandomInts;
import com.carrotsearch.randomizedtesting.generators.RandomPicks;