commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient HttpClient.java HttpState.java
Date Sat, 05 Jul 2003 18:51:24 GMT
olegk       2003/07/05 11:51:24

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        HttpClient.java HttpState.java
  Log:
  Deprecated code removal: Http connecton manager can no longer be set via HttpState
  
  Contributed by Oleg Kalnichevski
  
  Revision  Changes    Path
  1.77      +4 -7      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpClient.java
  
  Index: HttpClient.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpClient.java,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- HttpClient.java	12 May 2003 02:42:42 -0000	1.76
  +++ HttpClient.java	5 Jul 2003 18:51:24 -0000	1.77
  @@ -602,9 +602,6 @@
           }
           
           HttpConnectionManager connmanager = this.httpConnectionManager;
  -        if (state.getHttpConnectionManager() != null) {
  -            connmanager = state.getHttpConnectionManager();
  -        }
   
           HttpConnection connection = connmanager.getConnection(
               methodConfiguration,
  
  
  
  1.23      +4 -32     jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpState.java
  
  Index: HttpState.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpState.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- HttpState.java	8 May 2003 18:39:07 -0000	1.22
  +++ HttpState.java	5 Jul 2003 18:51:24 -0000	1.23
  @@ -700,32 +700,4 @@
           }
           return sbResult;
       }
  -    
  -    /**
  -     * Returns the httpConnectionManager.
  -     * @return HttpConnectionManager
  -     * 
  -     * @deprecated Connection manager is controlled by the HttpClient class.
  -     * Use {@link HttpClient#getHttpConnectionManager()} instead.
  -     * 
  -     * @since 2.0
  -     */
  -    public synchronized HttpConnectionManager getHttpConnectionManager() {
  -        return httpConnectionManager;
  -    }
  -
  -    /**
  -     * Sets the httpConnectionManager.
  -     * @param httpConnectionManager The httpConnectionManager to set
  -     * 
  -     * @deprecated Connection manager is controlled by the HttpClient class.
  -     * Use {@link HttpClient#setHttpConnectionManager(HttpConnectionManager)} instead.
  -     *
  -     * @since 2.0
  -     */
  -    public synchronized void setHttpConnectionManager(
  -        HttpConnectionManager httpConnectionManager
  -    ) {
  -        this.httpConnectionManager = httpConnectionManager;
  -    }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message