Index: HttpClient.java =================================================================== RCS file: /home/cvspublic/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpClient.java,v retrieving revision 1.92 diff -u -r1.92 HttpClient.java --- HttpClient.java 22 Feb 2004 18:08:45 -0000 1.92 +++ HttpClient.java 8 Apr 2004 22:06:57 -0000 @@ -1,5 +1,5 @@ /* - * $Header: /home/cvspublic/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpClient.java,v 1.92 2004/02/22 18:08:45 olegk Exp $ + * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpClient.java,v 1.92 2004/02/22 18:08:45 olegk Exp $ * $Revision: 1.92 $ * $Date: 2004/02/22 18:08:45 $ * @@ -442,20 +442,22 @@ } /** - * Returns the host that the client is accessing. + * Returns the default host. * - * @return The host that the client is accessing, or null if - * the session has not been started via startSession. + * @return The default host. + * + * @deprecated use #getHostConfiguration() */ public String getHost() { return hostConfiguration.getHost(); } /** - * Returns the port that the client is accessing. + * Returns the default port. * - * @return The port that the client is accessing, or -1 if the session - * has not been started via startSession(). + * @return The default port. + * + * @deprecated use #getHostConfiguration() */ public int getPort() { return hostConfiguration.getPort();