jsdever 2003/01/24 20:46:39 Modified: httpclient/src/java/org/apache/commons/httpclient HttpConnection.java Log: Deprecation of constructors in favour of the Protocol versions. Revision Changes Path 1.36 +14 -4 jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpConnection.java Index: HttpConnection.java =================================================================== RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpConnection.java,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- HttpConnection.java 23 Jan 2003 22:47:46 -0000 1.35 +++ HttpConnection.java 25 Jan 2003 04:46:39 -0000 1.36 @@ -124,6 +124,11 @@ * @param host the host I should connect to * @param port the port I should connect to * @param secure when <tt>true</tt>, connect via HTTPS (SSL) + * + * @deprecated use HttpConnection(String, int, Protocol) + * + * @see #HttpConnection(String,int,Protocol) + * */ public HttpConnection(String host, int port, boolean secure) { this(null, -1, host, port, secure); @@ -160,6 +165,11 @@ * @param host the host I should connect to. Parameter value must be non-null. * @param port the port I should connect to * @param secure when <tt>true</tt>, connect via HTTPS (SSL) + * + * @deprecated use HttpConnection(String, int, String, int, Protocol) + * + * @see #HttpConnection(String, int, String, int, Protocol) + * */ public HttpConnection(String proxyHost, int proxyPort, String host, int port, boolean secure) {
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>