Deprecated API

Deprecated Classes
org.apache.commons.httpclient.methods.UrlDeleteMethod
          use DeleteMethod 
org.apache.commons.httpclient.methods.UrlGetMethod
          use GetMethod 
org.apache.commons.httpclient.methods.UrlHeadMethod
          use HeadMethod 
org.apache.commons.httpclient.methods.UrlOptionsMethod
          use OptionsMethod 
org.apache.commons.httpclient.methods.UrlPostMethod
          use PostMethod 
org.apache.commons.httpclient.methods.UrlPutMethod
          use PutMethod 
 

Deprecated Interfaces
org.apache.commons.httpclient.HttpUrlMethod
          use HttpMethod 
 

Deprecated Methods
org.apache.commons.httpclient.Cookie.createCookieHeader(String, int, String, boolean, Cookie[])
          use CookieSpec interface 
org.apache.commons.httpclient.Cookie.createCookieHeader(String, int, String, boolean, Date, Cookie[])
          use CookieSpec interface 
org.apache.commons.httpclient.Cookie.createCookieHeader(String, String, boolean, Cookie[])
          use CookieSpec interface 
org.apache.commons.httpclient.Cookie.createCookieHeader(String, String, Cookie[])
          use CookieSpec interface 
org.apache.commons.httpclient.HttpClient.endSession()
          this method has no effect. HttpMethod.releaseConnection() should be used to release resources after a HttpMethod has been executed. 
org.apache.commons.httpclient.HttpState.getCookies(String, int, String, boolean, Date)
          use HttpState.getCookies(String, int, String, boolean) 
org.apache.commons.httpclient.HttpConnection.getRequestOutputStream(boolean)
          Use new ChunkedOutputStream(httpConnecion.getRequestOutputStream()); 
org.apache.commons.httpclient.HttpConnection.getResponseInputStream(HttpMethod)
          Use getResponseInputStream() instead. 
org.apache.commons.httpclient.Cookie.matches(String, int, String, boolean)
          use CookieSpec interface 
org.apache.commons.httpclient.Cookie.matches(String, int, String, boolean, Date)
          use CookieSpec interface 
org.apache.commons.httpclient.Cookie.parse(String, int, String, boolean, Header)
          use CookieSpec interface 
org.apache.commons.httpclient.Cookie.parse(String, String, boolean, Header)
          use CookieSpec interface 
org.apache.commons.httpclient.Cookie.parse(String, String, Header)
          use CookieSpec interface 
org.apache.commons.httpclient.methods.PostMethod.setParameter(String, String)
          use PostMethod.removeParameter(String,String) followed by PostMethod.addParameter(String,String). 
org.apache.commons.httpclient.HttpConnection.setSecure(boolean)
          use setProtocol(Protocol) 
org.apache.commons.httpclient.HttpClient.startSession(String, int)
          use hostConfiguration Sets the host, port and protocol(http) to be used when executing a method. 
org.apache.commons.httpclient.HttpClient.startSession(String, int, boolean)
          use hostConfiguration Sets the host, port and protocol to be used when executing a method. 
org.apache.commons.httpclient.HttpClient.startSession(String, int, Credentials)
          use hostConfiguration and httpState Sets the host, port, protocol(http) and credentials to be used when executing a method. 
org.apache.commons.httpclient.HttpClient.startSession(String, int, Credentials, boolean)
          use hostConfiguration and httpState Sets the host, port, protocol and credentials to be used when executing a method. 
org.apache.commons.httpclient.HttpClient.startSession(String, int, String, int)
          use hostConfiguration Sets the host, port, protocol(http) and proxy to be used when executing a method. 
org.apache.commons.httpclient.HttpClient.startSession(String, int, String, int, boolean)
          use hostConfiguration Sets the host, port, protocol and proxy to be used when executing a method. 
org.apache.commons.httpclient.HttpClient.startSession(URI)
          use hostConfiguration and httpState Sets the host, port, protocol and credentials to be used when executing a method using the server specified by the scheme, userinfo, host and port of the given uri.

Note that the path component is not utilized.

 

org.apache.commons.httpclient.HttpClient.startSession(URL)
          use hostConfiguration Sets the host, port and protocol to be used when executing a method.

Note that everything but the protocol, host and port of the given url is ignored.

 
org.apache.commons.httpclient.HttpClient.startSession(URL, Credentials)
          use hostConfiguration and httpState Sets the host, port, protocol and credentials to be used when executing a method.

Note that everything but the protocol, host and port of the given url is ignored.

 
 

Deprecated Constructors
org.apache.commons.httpclient.HttpConnection(String, int, boolean)
          use HttpConnection(String, int, Protocol) 
org.apache.commons.httpclient.HttpConnection(String, int, String, int, boolean)
          use HttpConnection(String, int, String, int, Protocol) 
 



Copyright © 2001-2003 Apache Software Foundation. All Rights Reserved.