From 03cc12fa3c2da61f9895bb8c9b99720eb0015808 Mon Sep 17 00:00:00 2001 From: Oleg Kalnichevski Date: Wed, 16 May 2007 16:43:08 +0000 Subject: [PATCH] Moved AuthState to the public API package git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@538648 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/http/{impl => }/client/AuthState.java | 2 +- .../apache/http/client/protocol/RequestProxyAuthentication.java | 2 +- .../http/client/protocol/RequestTargetAuthentication.java | 2 +- .../apache/http/impl/client/DefaultClientRequestDirector.java | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) rename src/java/org/apache/http/{impl => }/client/AuthState.java (99%) diff --git a/src/java/org/apache/http/impl/client/AuthState.java b/src/java/org/apache/http/client/AuthState.java similarity index 99% rename from src/java/org/apache/http/impl/client/AuthState.java rename to src/java/org/apache/http/client/AuthState.java index d355555e2..585e8768b 100644 --- a/src/java/org/apache/http/impl/client/AuthState.java +++ b/src/java/org/apache/http/client/AuthState.java @@ -28,7 +28,7 @@ * */ -package org.apache.http.impl.client; +package org.apache.http.client; import org.apache.http.auth.AuthScheme; import org.apache.http.auth.AuthScope; diff --git a/src/java/org/apache/http/client/protocol/RequestProxyAuthentication.java b/src/java/org/apache/http/client/protocol/RequestProxyAuthentication.java index f537b519b..98c49f4be 100644 --- a/src/java/org/apache/http/client/protocol/RequestProxyAuthentication.java +++ b/src/java/org/apache/http/client/protocol/RequestProxyAuthentication.java @@ -42,7 +42,7 @@ import org.apache.http.auth.AUTH; import org.apache.http.auth.AuthScheme; import org.apache.http.auth.AuthenticationException; import org.apache.http.auth.Credentials; -import org.apache.http.impl.client.AuthState; +import org.apache.http.client.AuthState; import org.apache.http.protocol.HttpContext; /** diff --git a/src/java/org/apache/http/client/protocol/RequestTargetAuthentication.java b/src/java/org/apache/http/client/protocol/RequestTargetAuthentication.java index 0f553f639..79c6cc89b 100644 --- a/src/java/org/apache/http/client/protocol/RequestTargetAuthentication.java +++ b/src/java/org/apache/http/client/protocol/RequestTargetAuthentication.java @@ -42,7 +42,7 @@ import org.apache.http.auth.AUTH; import org.apache.http.auth.AuthScheme; import org.apache.http.auth.AuthenticationException; import org.apache.http.auth.Credentials; -import org.apache.http.impl.client.AuthState; +import org.apache.http.client.AuthState; import org.apache.http.protocol.HttpContext; /** diff --git a/src/java/org/apache/http/impl/client/DefaultClientRequestDirector.java b/src/java/org/apache/http/impl/client/DefaultClientRequestDirector.java index 32d1f4114..005231cee 100644 --- a/src/java/org/apache/http/impl/client/DefaultClientRequestDirector.java +++ b/src/java/org/apache/http/impl/client/DefaultClientRequestDirector.java @@ -56,6 +56,7 @@ import org.apache.http.auth.AuthScope; import org.apache.http.auth.AuthenticationException; import org.apache.http.auth.Credentials; import org.apache.http.auth.MalformedChallengeException; +import org.apache.http.client.AuthState; import org.apache.http.client.AuthenticationHandler; import org.apache.http.client.ClientRequestDirector; import org.apache.http.client.HttpRequestRetryHandler;