File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
main/java/com/mindee/http
test/java/com/mindee/http Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 2020import java .util .Map ;
2121import java .util .function .Function ;
2222import lombok .Builder ;
23- import org .apache .hc .core5 .http .HttpEntity ;
24- import org .apache .hc .core5 .http .HttpHeaders ;
25- import org .apache .hc .core5 .http .NameValuePair ;
26- import org .apache .hc .client5 .http .impl .classic .CloseableHttpResponse ;
2723import org .apache .hc .client5 .http .classic .methods .HttpGet ;
2824import org .apache .hc .client5 .http .classic .methods .HttpPost ;
29- import org .apache .hc .core5 .net .URIBuilder ;
30- import org .apache .hc .core5 .http .ContentType ;
31- import org .apache .hc .core5 .http .io .entity .StringEntity ;
3225import org .apache .hc .client5 .http .entity .mime .HttpMultipartMode ;
3326import org .apache .hc .client5 .http .entity .mime .MultipartEntityBuilder ;
3427import org .apache .hc .client5 .http .impl .classic .CloseableHttpClient ;
28+ import org .apache .hc .client5 .http .impl .classic .CloseableHttpResponse ;
3529import org .apache .hc .client5 .http .impl .classic .HttpClientBuilder ;
30+ import org .apache .hc .core5 .http .ContentType ;
31+ import org .apache .hc .core5 .http .HttpEntity ;
32+ import org .apache .hc .core5 .http .HttpHeaders ;
33+ import org .apache .hc .core5 .http .NameValuePair ;
34+ import org .apache .hc .core5 .http .io .entity .StringEntity ;
3635import org .apache .hc .core5 .http .message .BasicNameValuePair ;
36+ import org .apache .hc .core5 .net .URIBuilder ;
3737
3838/**
3939 * HTTP Client class.
Original file line number Diff line number Diff line change 77import static com .github .tomakehurst .wiremock .client .WireMock .urlEqualTo ;
88import static com .github .tomakehurst .wiremock .client .WireMock .urlMatching ;
99import static org .hamcrest .MatcherAssert .assertThat ;
10+
1011import com .fasterxml .jackson .databind .ObjectMapper ;
1112import com .github .tomakehurst .wiremock .junit .WireMockRule ;
1213import com .mindee .MindeeSettings ;
2728import okhttp3 .mockwebserver .MockResponse ;
2829import okhttp3 .mockwebserver .MockWebServer ;
2930import okhttp3 .mockwebserver .RecordedRequest ;
30- import org .apache .hc .core5 .http .HttpHost ;
3131import org .apache .hc .client5 .http .impl .classic .HttpClientBuilder ;
3232import org .apache .hc .client5 .http .impl .classic .HttpClients ;
3333import org .apache .hc .client5 .http .impl .routing .DefaultProxyRoutePlanner ;
34+ import org .apache .hc .core5 .http .HttpHost ;
3435import org .hamcrest .collection .IsMapContaining ;
3536import org .junit .After ;
3637import org .junit .Assert ;
You can’t perform that action at this time.
0 commit comments