BAEL-19947: Migrate httpclient module to the com.baeldung package

This commit is contained in:
Krzysiek 2019-12-15 21:04:27 +01:00
parent f4420e8e99
commit c279201798
13 changed files with 17 additions and 17 deletions

View File

@ -1,4 +1,4 @@
package org.baeldung.httpclient;
package com.baeldung.httpclient;
import static org.hamcrest.Matchers.equalTo;
import static org.junit.Assert.assertThat;

View File

@ -1,4 +1,4 @@
package org.baeldung.httpclient;
package com.baeldung.httpclient;
import org.apache.http.HttpEntity;
import org.apache.http.HttpStatus;
@ -38,7 +38,7 @@ public class HttpClientMultipartLiveTest {
private static final String TEXTFILENAME = "temp.txt";
private static final String IMAGEFILENAME = "image.jpg";
private static final String ZIPFILENAME = "zipFile.zip";
private static final Logger LOGGER = Logger.getLogger("org.baeldung.httpclient.HttpClientMultipartLiveTest");
private static final Logger LOGGER = Logger.getLogger("com.baeldung.httpclient.HttpClientMultipartLiveTest");
private CloseableHttpClient client;
private HttpPost post;
private BufferedReader rd;

View File

@ -1,4 +1,4 @@
package org.baeldung.httpclient;
package com.baeldung.httpclient;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;

View File

@ -1,4 +1,4 @@
package org.baeldung.httpclient;
package com.baeldung.httpclient;
import org.apache.http.HttpEntity;
import org.apache.http.client.methods.CloseableHttpResponse;

View File

@ -1,4 +1,4 @@
package org.baeldung.httpclient.advancedconfig;
package com.baeldung.httpclient.advancedconfig;
import com.github.tomakehurst.wiremock.junit.WireMockRule;

View File

@ -1,5 +1,6 @@
package org.baeldung.httpclient.base;
package com.baeldung.httpclient.base;
import com.baeldung.httpclient.ResponseUtil;
import org.apache.http.auth.AuthenticationException;
import org.apache.http.auth.UsernamePasswordCredentials;
import org.apache.http.client.methods.CloseableHttpResponse;
@ -8,7 +9,6 @@ import org.apache.http.entity.StringEntity;
import org.apache.http.impl.auth.BasicScheme;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClientBuilder;
import org.baeldung.httpclient.ResponseUtil;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

View File

@ -1,5 +1,6 @@
package org.baeldung.httpclient.base;
package com.baeldung.httpclient.base;
import com.baeldung.httpclient.ResponseUtil;
import org.apache.http.Header;
import org.apache.http.HttpEntity;
import org.apache.http.HttpHeaders;
@ -11,7 +12,6 @@ import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClientBuilder;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.impl.conn.BasicHttpClientConnectionManager;
import org.baeldung.httpclient.ResponseUtil;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

View File

@ -1,5 +1,6 @@
package org.baeldung.httpclient.base;
package com.baeldung.httpclient.base;
import com.baeldung.httpclient.ResponseUtil;
import org.apache.http.auth.AuthScope;
import org.apache.http.auth.UsernamePasswordCredentials;
import org.apache.http.client.CredentialsProvider;
@ -8,7 +9,6 @@ import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.BasicCredentialsProvider;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClientBuilder;
import org.baeldung.httpclient.ResponseUtil;
import org.junit.Test;
import java.io.IOException;

View File

@ -1,4 +1,4 @@
package org.baeldung.httpclient.conn;
package com.baeldung.httpclient.conn;
import org.apache.http.HeaderElement;
import org.apache.http.HeaderElementIterator;

View File

@ -1,4 +1,4 @@
package org.baeldung.httpclient.conn;
package com.baeldung.httpclient.conn;
import java.util.concurrent.TimeUnit;

View File

@ -1,4 +1,4 @@
package org.baeldung.httpclient.conn;
package com.baeldung.httpclient.conn;
import java.io.IOException;

View File

@ -1,4 +1,4 @@
package org.baeldung.httpclient.conn;
package com.baeldung.httpclient.conn;
import java.io.IOException;

View File

@ -1,4 +1,4 @@
package org.baeldung.httpclient.rare;
package com.baeldung.httpclient.rare;
import com.google.common.base.Preconditions;
import com.google.common.collect.Lists;