Moved test extension classes
This commit is contained in:
parent
1cd7f8f2d0
commit
0b4b06d080
|
@ -55,11 +55,11 @@ import org.apache.hc.client5.http.impl.auth.BasicScheme;
|
|||
import org.apache.hc.client5.http.impl.auth.CredentialsProviderBuilder;
|
||||
import org.apache.hc.client5.http.protocol.HttpClientContext;
|
||||
import org.apache.hc.client5.testing.BasicTestAuthenticator;
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncClient;
|
||||
import org.apache.hc.client5.testing.auth.Authenticator;
|
||||
import org.apache.hc.client5.testing.auth.BearerAuthenticationHandler;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncClient;
|
||||
import org.apache.hc.core5.http.ContentType;
|
||||
import org.apache.hc.core5.http.HttpHeaders;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
|
|
|
@ -41,9 +41,9 @@ import java.util.concurrent.atomic.AtomicInteger;
|
|||
import org.apache.hc.client5.http.async.methods.SimpleHttpResponse;
|
||||
import org.apache.hc.client5.http.async.methods.SimpleRequestBuilder;
|
||||
import org.apache.hc.client5.http.protocol.HttpClientContext;
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncClient;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncClient;
|
||||
import org.apache.hc.core5.concurrent.FutureCallback;
|
||||
import org.apache.hc.core5.http.ContentType;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
|
|
|
@ -44,11 +44,11 @@ import org.apache.hc.client5.http.cookie.CookieStore;
|
|||
import org.apache.hc.client5.http.impl.cookie.BasicClientCookie;
|
||||
import org.apache.hc.client5.http.protocol.HttpClientContext;
|
||||
import org.apache.hc.client5.testing.OldPathRedirectResolver;
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncClient;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncServer;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncServerBootstrap;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncClient;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncServer;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncServerBootstrap;
|
||||
import org.apache.hc.client5.testing.redirect.Redirect;
|
||||
import org.apache.hc.core5.http.ContentType;
|
||||
import org.apache.hc.core5.http.Header;
|
||||
|
|
|
@ -52,9 +52,9 @@ import java.util.concurrent.atomic.AtomicReference;
|
|||
import io.reactivex.rxjava3.core.Flowable;
|
||||
import io.reactivex.rxjava3.schedulers.Schedulers;
|
||||
import org.apache.hc.client5.http.protocol.HttpClientContext;
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncClient;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncClient;
|
||||
import org.apache.hc.core5.concurrent.FutureCallback;
|
||||
import org.apache.hc.core5.http.ContentType;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
|
|
|
@ -30,13 +30,13 @@ package org.apache.hc.client5.testing.async;
|
|||
import java.net.InetSocketAddress;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncClient;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncClientBuilder;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncResources;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncServer;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncServerBootstrap;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncClient;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncClientBuilder;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncResources;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncServer;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncServerBootstrap;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
import org.apache.hc.core5.http.URIScheme;
|
||||
import org.apache.hc.core5.util.Timeout;
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
*/
|
||||
package org.apache.hc.client5.testing.async;
|
||||
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.core5.http.URIScheme;
|
||||
|
||||
public abstract class TestH2Async extends AbstractHttpAsyncFundamentalsTest {
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
*/
|
||||
package org.apache.hc.client5.testing.async;
|
||||
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.core5.http.URIScheme;
|
||||
|
||||
public abstract class TestH2AsyncMinimal extends AbstractHttpAsyncFundamentalsTest {
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
*/
|
||||
package org.apache.hc.client5.testing.async;
|
||||
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.core5.http.URIScheme;
|
||||
|
||||
public abstract class TestH2AsyncRedirect extends AbstractHttpAsyncRedirectsTest {
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
*/
|
||||
package org.apache.hc.client5.testing.async;
|
||||
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.core5.http.URIScheme;
|
||||
|
||||
public abstract class TestH2ClientAuthentication extends AbstractHttpAsyncClientAuthenticationTest {
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
*/
|
||||
package org.apache.hc.client5.testing.async;
|
||||
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.core5.http.URIScheme;
|
||||
|
||||
public abstract class TestH2Reactive extends AbstractHttpReactiveFundamentalsTest {
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
*/
|
||||
package org.apache.hc.client5.testing.async;
|
||||
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.core5.http.URIScheme;
|
||||
|
||||
public abstract class TestH2ReactiveMinimal extends AbstractHttpReactiveFundamentalsTest {
|
||||
|
|
|
@ -40,9 +40,9 @@ import org.apache.hc.client5.http.async.methods.SimpleRequestBuilder;
|
|||
import org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient;
|
||||
import org.apache.hc.client5.http.impl.async.HttpAsyncClients;
|
||||
import org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager;
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncClient;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncClient;
|
||||
import org.apache.hc.core5.http.HeaderElements;
|
||||
import org.apache.hc.core5.http.HttpHeaders;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
|
|
|
@ -36,8 +36,8 @@ import java.util.concurrent.TimeUnit;
|
|||
|
||||
import org.apache.hc.client5.http.impl.async.MinimalHttpAsyncClient;
|
||||
import org.apache.hc.client5.http.protocol.HttpClientContext;
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.core5.http.ContentType;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
import org.apache.hc.core5.http.HttpResponse;
|
||||
|
|
|
@ -34,9 +34,9 @@ import org.apache.hc.client5.http.async.methods.SimpleHttpResponse;
|
|||
import org.apache.hc.client5.http.async.methods.SimpleRequestBuilder;
|
||||
import org.apache.hc.client5.http.protocol.HttpClientContext;
|
||||
import org.apache.hc.client5.testing.OldPathRedirectResolver;
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncClient;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncClient;
|
||||
import org.apache.hc.client5.testing.redirect.Redirect;
|
||||
import org.apache.hc.core5.http.Header;
|
||||
import org.apache.hc.core5.http.HttpHeaders;
|
||||
|
|
|
@ -34,9 +34,9 @@ import org.apache.hc.client5.http.async.methods.SimpleRequestBuilder;
|
|||
import org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient;
|
||||
import org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager;
|
||||
import org.apache.hc.client5.http.protocol.HttpClientContext;
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncClient;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncClient;
|
||||
import org.apache.hc.core5.http.ContentType;
|
||||
import org.apache.hc.core5.http.EndpointDetails;
|
||||
import org.apache.hc.core5.http.HttpException;
|
||||
|
|
|
@ -36,9 +36,9 @@ import org.apache.hc.client5.http.auth.CredentialsProvider;
|
|||
import org.apache.hc.client5.http.auth.UsernamePasswordCredentials;
|
||||
import org.apache.hc.client5.http.protocol.HttpClientContext;
|
||||
import org.apache.hc.client5.testing.BasicTestAuthenticator;
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncClient;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncClient;
|
||||
import org.apache.hc.core5.http.HeaderElements;
|
||||
import org.apache.hc.core5.http.HttpHeaders;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
|
|
|
@ -36,9 +36,9 @@ import org.apache.hc.client5.http.async.methods.SimpleRequestBuilder;
|
|||
import org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient;
|
||||
import org.apache.hc.client5.http.impl.async.HttpAsyncClients;
|
||||
import org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager;
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncClient;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncClient;
|
||||
import org.apache.hc.core5.http.HeaderElements;
|
||||
import org.apache.hc.core5.http.HttpHeaders;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
|
|
|
@ -36,8 +36,8 @@ import java.util.concurrent.TimeUnit;
|
|||
|
||||
import org.apache.hc.client5.http.impl.async.MinimalHttpAsyncClient;
|
||||
import org.apache.hc.client5.http.protocol.HttpClientContext;
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.core5.http.ContentType;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
import org.apache.hc.core5.http.HttpResponse;
|
||||
|
|
|
@ -34,9 +34,9 @@ import java.util.concurrent.atomic.AtomicInteger;
|
|||
import org.apache.hc.client5.http.async.methods.SimpleHttpResponse;
|
||||
import org.apache.hc.client5.http.async.methods.SimpleRequestBuilder;
|
||||
import org.apache.hc.client5.http.impl.DefaultHttpRequestRetryStrategy;
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncClient;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncClient;
|
||||
import org.apache.hc.core5.function.Resolver;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
import org.apache.hc.core5.http.HttpRequest;
|
||||
|
|
|
@ -35,8 +35,8 @@ import javax.net.ssl.SSLException;
|
|||
import org.apache.hc.client5.http.impl.async.MinimalHttpAsyncClient;
|
||||
import org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager;
|
||||
import org.apache.hc.client5.http.ssl.DefaultClientTlsStrategy;
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
import org.apache.hc.core5.http.URIScheme;
|
||||
import org.apache.hc.core5.http.nio.AsyncClientEndpoint;
|
||||
|
|
|
@ -34,9 +34,9 @@ import java.util.concurrent.atomic.AtomicReference;
|
|||
import org.apache.hc.client5.http.async.methods.SimpleHttpResponse;
|
||||
import org.apache.hc.client5.http.async.methods.SimpleRequestBuilder;
|
||||
import org.apache.hc.client5.http.config.TlsConfig;
|
||||
import org.apache.hc.client5.testing.async.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.async.extension.TestAsyncClient;
|
||||
import org.apache.hc.client5.testing.extension.async.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.ServerProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.async.TestAsyncClient;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
import org.apache.hc.core5.http.HttpVersion;
|
||||
import org.apache.hc.core5.http.ProtocolVersion;
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.async.extension;
|
||||
package org.apache.hc.client5.testing.extension.async;
|
||||
|
||||
public enum ClientProtocolLevel {
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.async.extension;
|
||||
package org.apache.hc.client5.testing.extension.async;
|
||||
|
||||
import org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient;
|
||||
import org.apache.hc.client5.http.impl.async.HttpAsyncClients;
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.async.extension;
|
||||
package org.apache.hc.client5.testing.extension.async;
|
||||
|
||||
import java.util.Collection;
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.async.extension;
|
||||
package org.apache.hc.client5.testing.extension.async;
|
||||
|
||||
import org.apache.hc.client5.http.config.ConnectionConfig;
|
||||
import org.apache.hc.client5.http.config.TlsConfig;
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.async.extension;
|
||||
package org.apache.hc.client5.testing.extension.async;
|
||||
|
||||
public enum ServerProtocolLevel {
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.async.extension;
|
||||
package org.apache.hc.client5.testing.extension.async;
|
||||
|
||||
import java.util.Collection;
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.async.extension;
|
||||
package org.apache.hc.client5.testing.extension.async;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.concurrent.Future;
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.async.extension;
|
||||
package org.apache.hc.client5.testing.extension.async;
|
||||
|
||||
import java.util.Collection;
|
||||
|
|
@ -25,11 +25,11 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.async.extension;
|
||||
package org.apache.hc.client5.testing.extension.async;
|
||||
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import org.apache.hc.client5.testing.sync.extension.TestClientResources;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestClientResources;
|
||||
import org.apache.hc.core5.http.URIScheme;
|
||||
import org.apache.hc.core5.io.CloseMode;
|
||||
import org.apache.hc.core5.util.Asserts;
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.async.extension;
|
||||
package org.apache.hc.client5.testing.extension.async;
|
||||
|
||||
import java.net.InetSocketAddress;
|
||||
import java.util.Set;
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.async.extension;
|
||||
package org.apache.hc.client5.testing.extension.async;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.sync.extension;
|
||||
package org.apache.hc.client5.testing.extension.sync;
|
||||
|
||||
public enum ClientProtocolLevel {
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.sync.extension;
|
||||
package org.apache.hc.client5.testing.extension.sync;
|
||||
|
||||
import org.apache.hc.client5.http.config.ConnectionConfig;
|
||||
import org.apache.hc.client5.http.impl.classic.HttpClients;
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.sync.extension;
|
||||
package org.apache.hc.client5.testing.extension.sync;
|
||||
|
||||
import java.util.Collection;
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.sync.extension;
|
||||
package org.apache.hc.client5.testing.extension.sync;
|
||||
|
||||
import java.io.IOException;
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.sync.extension;
|
||||
package org.apache.hc.client5.testing.extension.sync;
|
||||
|
||||
import java.util.Collection;
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.sync.extension;
|
||||
package org.apache.hc.client5.testing.extension.sync;
|
||||
|
||||
import java.util.function.Consumer;
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.sync.extension;
|
||||
package org.apache.hc.client5.testing.extension.sync;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.InetSocketAddress;
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
package org.apache.hc.client5.testing.sync.extension;
|
||||
package org.apache.hc.client5.testing.extension.sync;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
|
@ -35,9 +35,9 @@ import org.apache.hc.client5.http.ClientProtocolException;
|
|||
import org.apache.hc.client5.http.HttpResponseException;
|
||||
import org.apache.hc.client5.http.fluent.Content;
|
||||
import org.apache.hc.client5.http.fluent.Request;
|
||||
import org.apache.hc.client5.testing.sync.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestClientResources;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestServer;
|
||||
import org.apache.hc.client5.testing.extension.sync.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestClientResources;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestServer;
|
||||
import org.apache.hc.core5.http.ContentType;
|
||||
import org.apache.hc.core5.http.HttpEntity;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
|
|
|
@ -30,12 +30,12 @@ package org.apache.hc.client5.testing.sync;
|
|||
import java.net.InetSocketAddress;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import org.apache.hc.client5.testing.sync.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestClient;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestClientBuilder;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestClientResources;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestServer;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestServerBootstrap;
|
||||
import org.apache.hc.client5.testing.extension.sync.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestClient;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestClientBuilder;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestClientResources;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestServer;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestServerBootstrap;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
import org.apache.hc.core5.http.URIScheme;
|
||||
import org.apache.hc.core5.util.Timeout;
|
||||
|
|
|
@ -29,8 +29,8 @@ package org.apache.hc.client5.testing.sync;
|
|||
import org.apache.hc.client5.http.classic.methods.HttpGet;
|
||||
import org.apache.hc.client5.http.impl.io.BasicHttpClientConnectionManager;
|
||||
import org.apache.hc.client5.testing.classic.RandomHandler;
|
||||
import org.apache.hc.client5.testing.sync.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestClient;
|
||||
import org.apache.hc.client5.testing.extension.sync.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestClient;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
import org.apache.hc.core5.http.URIScheme;
|
||||
import org.apache.hc.core5.http.io.entity.EntityUtils;
|
||||
|
|
|
@ -64,9 +64,9 @@ import org.apache.hc.client5.testing.auth.Authenticator;
|
|||
import org.apache.hc.client5.testing.auth.BearerAuthenticationHandler;
|
||||
import org.apache.hc.client5.testing.classic.AuthenticatingDecorator;
|
||||
import org.apache.hc.client5.testing.classic.EchoHandler;
|
||||
import org.apache.hc.client5.testing.sync.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestClient;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestServerBootstrap;
|
||||
import org.apache.hc.client5.testing.extension.sync.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestClient;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestServerBootstrap;
|
||||
import org.apache.hc.core5.http.ClassicHttpRequest;
|
||||
import org.apache.hc.core5.http.ClassicHttpResponse;
|
||||
import org.apache.hc.core5.http.HeaderElements;
|
||||
|
|
|
@ -41,8 +41,8 @@ import org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager;
|
|||
import org.apache.hc.client5.http.protocol.HttpClientContext;
|
||||
import org.apache.hc.client5.http.protocol.RedirectLocations;
|
||||
import org.apache.hc.client5.http.utils.URIUtils;
|
||||
import org.apache.hc.client5.testing.sync.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestClient;
|
||||
import org.apache.hc.client5.testing.extension.sync.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestClient;
|
||||
import org.apache.hc.core5.http.ClassicHttpRequest;
|
||||
import org.apache.hc.core5.http.ClassicHttpResponse;
|
||||
import org.apache.hc.core5.http.Header;
|
||||
|
|
|
@ -38,8 +38,8 @@ import org.apache.hc.client5.http.io.ConnectionEndpoint;
|
|||
import org.apache.hc.client5.http.io.LeaseRequest;
|
||||
import org.apache.hc.client5.http.protocol.HttpClientContext;
|
||||
import org.apache.hc.client5.testing.classic.RandomHandler;
|
||||
import org.apache.hc.client5.testing.sync.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestClient;
|
||||
import org.apache.hc.client5.testing.extension.sync.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestClient;
|
||||
import org.apache.hc.core5.http.ClassicHttpRequest;
|
||||
import org.apache.hc.core5.http.ClassicHttpResponse;
|
||||
import org.apache.hc.core5.http.HttpException;
|
||||
|
|
|
@ -39,8 +39,8 @@ import org.apache.hc.client5.http.classic.methods.HttpPost;
|
|||
import org.apache.hc.client5.http.impl.classic.CloseableHttpClient;
|
||||
import org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager;
|
||||
import org.apache.hc.client5.testing.classic.RandomHandler;
|
||||
import org.apache.hc.client5.testing.sync.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestClient;
|
||||
import org.apache.hc.client5.testing.extension.sync.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestClient;
|
||||
import org.apache.hc.core5.http.ClassicHttpRequest;
|
||||
import org.apache.hc.core5.http.ContentType;
|
||||
import org.apache.hc.core5.http.EntityDetails;
|
||||
|
|
|
@ -45,8 +45,8 @@ import org.apache.hc.client5.http.classic.methods.HttpGet;
|
|||
import org.apache.hc.client5.http.impl.classic.BasicHttpClientResponseHandler;
|
||||
import org.apache.hc.client5.http.impl.classic.CloseableHttpClient;
|
||||
import org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager;
|
||||
import org.apache.hc.client5.testing.sync.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestClient;
|
||||
import org.apache.hc.client5.testing.extension.sync.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestClient;
|
||||
import org.apache.hc.core5.http.ClassicHttpRequest;
|
||||
import org.apache.hc.core5.http.ClassicHttpResponse;
|
||||
import org.apache.hc.core5.http.HeaderElement;
|
||||
|
|
|
@ -34,8 +34,8 @@ import org.apache.hc.client5.http.cookie.BasicCookieStore;
|
|||
import org.apache.hc.client5.http.cookie.Cookie;
|
||||
import org.apache.hc.client5.http.cookie.CookieStore;
|
||||
import org.apache.hc.client5.http.protocol.HttpClientContext;
|
||||
import org.apache.hc.client5.testing.sync.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestClient;
|
||||
import org.apache.hc.client5.testing.extension.sync.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestClient;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
import org.apache.hc.core5.http.HttpStatus;
|
||||
import org.apache.hc.core5.http.URIScheme;
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
package org.apache.hc.client5.testing.sync;
|
||||
|
||||
import org.apache.hc.client5.http.classic.methods.HttpPost;
|
||||
import org.apache.hc.client5.testing.sync.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestClient;
|
||||
import org.apache.hc.client5.testing.extension.sync.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestClient;
|
||||
import org.apache.hc.core5.http.ClassicHttpRequest;
|
||||
import org.apache.hc.core5.http.Header;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
|
|
|
@ -35,8 +35,8 @@ import org.apache.hc.client5.http.impl.IdleConnectionEvictor;
|
|||
import org.apache.hc.client5.http.impl.classic.CloseableHttpClient;
|
||||
import org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager;
|
||||
import org.apache.hc.client5.testing.classic.RandomHandler;
|
||||
import org.apache.hc.client5.testing.sync.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestClient;
|
||||
import org.apache.hc.client5.testing.extension.sync.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestClient;
|
||||
import org.apache.hc.core5.http.HttpHost;
|
||||
import org.apache.hc.core5.http.URIScheme;
|
||||
import org.apache.hc.core5.http.io.entity.EntityUtils;
|
||||
|
|
|
@ -33,8 +33,8 @@ import java.util.Set;
|
|||
|
||||
import org.apache.hc.client5.http.classic.methods.HttpGet;
|
||||
import org.apache.hc.client5.http.protocol.HttpClientContext;
|
||||
import org.apache.hc.client5.testing.sync.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestClient;
|
||||
import org.apache.hc.client5.testing.extension.sync.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestClient;
|
||||
import org.apache.hc.core5.http.ClassicHttpRequest;
|
||||
import org.apache.hc.core5.http.ClassicHttpResponse;
|
||||
import org.apache.hc.core5.http.Header;
|
||||
|
|
|
@ -49,9 +49,9 @@ import org.apache.hc.client5.testing.OldPathRedirectResolver;
|
|||
import org.apache.hc.client5.testing.classic.EchoHandler;
|
||||
import org.apache.hc.client5.testing.classic.RandomHandler;
|
||||
import org.apache.hc.client5.testing.classic.RedirectingDecorator;
|
||||
import org.apache.hc.client5.testing.extension.sync.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestClient;
|
||||
import org.apache.hc.client5.testing.redirect.Redirect;
|
||||
import org.apache.hc.client5.testing.sync.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestClient;
|
||||
import org.apache.hc.core5.function.Decorator;
|
||||
import org.apache.hc.core5.http.ClassicHttpRequest;
|
||||
import org.apache.hc.core5.http.Header;
|
||||
|
|
|
@ -33,8 +33,8 @@ import org.apache.hc.client5.http.classic.methods.HttpGet;
|
|||
import org.apache.hc.client5.http.impl.classic.CloseableHttpClient;
|
||||
import org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager;
|
||||
import org.apache.hc.client5.http.protocol.HttpClientContext;
|
||||
import org.apache.hc.client5.testing.sync.extension.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.sync.extension.TestClient;
|
||||
import org.apache.hc.client5.testing.extension.sync.ClientProtocolLevel;
|
||||
import org.apache.hc.client5.testing.extension.sync.TestClient;
|
||||
import org.apache.hc.core5.http.ClassicHttpRequest;
|
||||
import org.apache.hc.core5.http.ClassicHttpResponse;
|
||||
import org.apache.hc.core5.http.EndpointDetails;
|
||||
|
|
Loading…
Reference in New Issue