@deprecated old connection stuff

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@504213 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Roland Weber 2007-02-06 17:38:17 +00:00
parent da98973e4d
commit 4205d7ad28
5 changed files with 16 additions and 1 deletions

View File

@ -32,7 +32,9 @@
package org.apache.http.conn; package org.apache.http.conn;
/** /**
* An interface for classes that manage {@link HttpHostConnection}s. * "Old" connection manager interface, as ported from HttpClient 3.x.
* @deprecated kept temporarily for reference. To be replaced by
* {@link ClientConnectionManager}.
* *
* @author Michael Becke * @author Michael Becke
* @author <a href="mailto:mbowler@GargoyleSoftware.com">Mike Bowler</a> * @author <a href="mailto:mbowler@GargoyleSoftware.com">Mike Bowler</a>

View File

@ -39,6 +39,12 @@ import org.apache.http.HttpInetConnection;
import org.apache.http.HttpResponse; import org.apache.http.HttpResponse;
import org.apache.http.params.HttpParams; import org.apache.http.params.HttpParams;
/**
* "Old" connection interface, as ported from HttpClient 3.x.
* @deprecated kept temporarily for reference. To be replaced by
* {@link OperatedClientConnection} and
* {@link ManagedClientConnection}.
*/
public interface HttpHostConnection extends HttpClientConnection, HttpInetConnection { public interface HttpHostConnection extends HttpClientConnection, HttpInetConnection {
void setHttpConnectionManager(HttpConnectionManager manager); void setHttpConnectionManager(HttpConnectionManager manager);

View File

@ -50,6 +50,10 @@ import org.apache.http.params.HttpParams;
/** /**
* Default {@link HttpHostConnection} implementation. * Default {@link HttpHostConnection} implementation.
* *
* @deprecated kept temporarily for reference. To be replaced by
* {@link DefaultClientConnection} and
* {@link AbstractClientConnectionAdapter}.
*
* @author Rod Waldhoff * @author Rod Waldhoff
* @author Sean C. Sullivan * @author Sean C. Sullivan
* @author Ortwin Glueck * @author Ortwin Glueck

View File

@ -59,6 +59,8 @@ import org.apache.http.params.HttpParams;
/** /**
* Manages a set of HttpConnections for various HostConfigurations. * Manages a set of HttpConnections for various HostConfigurations.
* @deprecated kept temporarily for reference. To be replaced by
* {@link ThreadSafeClientConnManager}.
* *
* @author <a href="mailto:becke@u.washington.edu">Michael Becke</a> * @author <a href="mailto:becke@u.washington.edu">Michael Becke</a>
* @author Eric Johnson * @author Eric Johnson

View File

@ -47,6 +47,7 @@ import org.apache.http.params.HttpParams;
* A connection manager that provides access to a single HttpConnection. This * A connection manager that provides access to a single HttpConnection. This
* manager makes no attempt to provide exclusive access to the contained * manager makes no attempt to provide exclusive access to the contained
* HttpConnection. * HttpConnection.
* @deprecated To be adapted to the new connection handler interface.
* *
* @author <a href="mailto:becke@u.washington.edu">Michael Becke</a> * @author <a href="mailto:becke@u.washington.edu">Michael Becke</a>
* @author Eric Johnson * @author Eric Johnson