|
1 | 1 | package org.influxdb.impl;
|
2 | 2 |
|
3 |
| - |
4 | 3 | import com.squareup.moshi.JsonAdapter;
|
5 | 4 | import com.squareup.moshi.Moshi;
|
6 |
| -import okhttp3.*; |
| 5 | +import okhttp3.Headers; |
| 6 | +import okhttp3.MediaType; |
| 7 | +import okhttp3.OkHttpClient; |
| 8 | +import okhttp3.Request; |
| 9 | +import okhttp3.RequestBody; |
| 10 | +import okhttp3.ResponseBody; |
7 | 11 | import okhttp3.logging.HttpLoggingInterceptor;
|
8 | 12 | import okhttp3.logging.HttpLoggingInterceptor.Level;
|
9 | 13 | import okio.BufferedSource;
|
10 | 14 | import org.influxdb.BatchOptions;
|
11 | 15 | import org.influxdb.InfluxDB;
|
12 | 16 | import org.influxdb.InfluxDBException;
|
13 | 17 | import org.influxdb.InfluxDBIOException;
|
14 |
| -import org.influxdb.dto.*; |
| 18 | +import org.influxdb.dto.BatchPoints; |
| 19 | +import org.influxdb.dto.BoundParameterQuery; |
| 20 | +import org.influxdb.dto.Point; |
| 21 | +import org.influxdb.dto.Pong; |
| 22 | +import org.influxdb.dto.Query; |
| 23 | +import org.influxdb.dto.QueryResult; |
15 | 24 | import org.influxdb.impl.BatchProcessor.HttpBatchEntry;
|
16 | 25 | import org.influxdb.impl.BatchProcessor.UdpBatchEntry;
|
17 | 26 | import org.influxdb.msgpack.MessagePackConverterFactory;
|
|
26 | 35 | import java.io.EOFException;
|
27 | 36 | import java.io.IOException;
|
28 | 37 | import java.io.InputStream;
|
29 |
| -import java.net.*; |
| 38 | +import java.net.DatagramPacket; |
| 39 | +import java.net.DatagramSocket; |
| 40 | +import java.net.InetAddress; |
| 41 | +import java.net.InetSocketAddress; |
| 42 | +import java.net.SocketException; |
| 43 | +import java.net.URI; |
| 44 | +import java.net.URISyntaxException; |
| 45 | +import java.net.UnknownHostException; |
30 | 46 | import java.nio.charset.StandardCharsets;
|
31 | 47 | import java.util.ArrayList;
|
32 | 48 | import java.util.Collections;
|
|
0 commit comments