Deprecated API

Deprecated Classes
org.apache.commons.httpclient.Authenticator
          use HttpAuthenticator 
org.apache.commons.httpclient.util.Base64
          The commons-codec Base64 class will be used in HttpClient 2.1 
org.apache.commons.httpclient.NTLM
          this class will be made package access for 2.0beta2 
org.apache.commons.httpclient.RequestOutputStream
          Use new ChunkedOutputStream(HttpConnecion#getRequestOutputStream()); 
org.apache.commons.httpclient.ResponseInputStream
          Use new ChunkedInputStream(HttpConnecion#getResponseInputStream()); 
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 Fields
org.apache.commons.httpclient.HttpURL._default_port
          Use HttpURL.DEFAULT_PORT instead. This one doesn't conform to the project naming conventions. 
org.apache.commons.httpclient.HttpsURL._default_port
          Use HttpsURL.DEFAULT_PORT instead. This one doesn't conform to the project naming conventions. 
org.apache.commons.httpclient.HttpURL._default_scheme
          Use HttpURL.DEFAULT_SCHEME instead. This one doesn't conform to the project naming conventions. 
org.apache.commons.httpclient.HttpsURL._default_scheme
          Use HttpsURL.DEFAULT_SCHEME instead. This one doesn't conform to the project naming conventions. 
org.apache.commons.httpclient.HttpState.PREEMPTIVE_DEFAULT
          This field and feature will be removed following HttpClient 3.0. 
org.apache.commons.httpclient.HttpState.PREEMPTIVE_PROPERTY
          This field and feature will be removed following HttpClient 3.0. 
 

Deprecated Methods
org.apache.commons.httpclient.Authenticator.authenticate(HttpMethod, HttpState)
          use HttpAuthenticator.authenticate(AuthScheme, HttpMethod, HttpConnection, HttpState) 
org.apache.commons.httpclient.Authenticator.authenticateProxy(HttpMethod, HttpState)
          use HttpAuthenticator.authenticateProxy(AuthScheme, HttpMethod, HttpConnection, HttpState) 
org.apache.commons.httpclient.RequestOutputStream.close()
          Use ChunkedOutputStream; 
org.apache.commons.httpclient.ResponseInputStream.close()
          Use ChunkedInputStream; 
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)
          use CookieSpec.match(String, int, String, boolean, Cookie) 
org.apache.commons.httpclient.HttpState.getCookies(String, int, String, boolean, Date)
          use CookieSpec#match(String, int, String, boolean, Cookie) 
org.apache.commons.httpclient.HttpState.getCredentials(String)
          This method does not distinguish between realms on different servers with the same name. Use HttpState.getCredentials(String, String) instead. 
org.apache.commons.httpclient.methods.GetMethod.getFileData()
          the client is responsible for disk I/O 
org.apache.commons.httpclient.HttpClient.getHost()
          use #getHostConfiguration() 
org.apache.commons.httpclient.HttpState.getHttpConnectionManager()
          Connection manager is controlled by the HttpClient class. Use HttpClient.getHttpConnectionManager() instead. 
org.apache.commons.httpclient.HttpClient.getPort()
          use #getHostConfiguration() 
org.apache.commons.httpclient.HttpState.getProxyCredentials(String)
          This method does not distinguish between realms on different hosts. Use HttpState.getProxyCredentials(String, String) instead. 
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.methods.GetMethod.getTempDir()
          the client is responsible for disk I/O 
org.apache.commons.httpclient.methods.GetMethod.getTempFile()
          the client is responsible for disk I/O 
org.apache.commons.httpclient.methods.GetMethod.getUseDisk()
          the client is responsible for disk I/O 
org.apache.commons.httpclient.RequestOutputStream.isUseChunking()
          Use ChunkedOutputStream; 
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, int, String, 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.RequestOutputStream.print(String)
          Use ChunkedOutputStream; 
org.apache.commons.httpclient.RequestOutputStream.println()
          Use ChunkedOutputStream; 
org.apache.commons.httpclient.RequestOutputStream.println(String)
          Use ChunkedOutputStream; 
org.apache.commons.httpclient.ResponseInputStream.read()
          Use ChunkedInputStream; 
org.apache.commons.httpclient.ResponseInputStream.read(byte[], int, int)
          Use ChunkedInputStream; 
org.apache.commons.httpclient.HttpMethod.recycle()
          no longer supported and will be removed in the future version of HttpClient 
org.apache.commons.httpclient.HttpMethodBase.recycle()
          no longer supported and will be removed in the future version of HttpClient 
org.apache.commons.httpclient.methods.GetMethod.recycle()
          no longer supported and will be removed in the future version of HttpClient 
org.apache.commons.httpclient.methods.EntityEnclosingMethod.recycle()
          no longer supported and will be removed in the future version of HttpClient 
org.apache.commons.httpclient.methods.MultipartPostMethod.recycle()
          no longer supported and will be removed in the future version of HttpClient 
org.apache.commons.httpclient.methods.HeadMethod.recycle()
          no longer supported and will be removed in the future version of HttpClient 
org.apache.commons.httpclient.HttpState.setCredentials(String, Credentials)
          This method does not distinguish between realms with the same name on different hosts. Use HttpState.setCredentials(String, String, Credentials) instead. 
org.apache.commons.httpclient.methods.GetMethod.setFileData(File)
          the client is responsible for disk I/O 
org.apache.commons.httpclient.HttpState.setHttpConnectionManager(HttpConnectionManager)
          Connection manager is controlled by the HttpClient class. Use HttpClient.setHttpConnectionManager(HttpConnectionManager) instead. 
org.apache.commons.httpclient.HttpState.setProxyCredentials(String, Credentials)
          This method does not differentiate between realms with the same name on different servers. Use HttpState.setProxyCredentials(String, String, Credentials) instead. 
org.apache.commons.httpclient.HttpConnection.setSecure(boolean)
          use setProtocol(Protocol) 
org.apache.commons.httpclient.methods.GetMethod.setTempDir(String)
          the client is responsible for disk I/O 
org.apache.commons.httpclient.methods.GetMethod.setTempFile(String)
          the client is responsible for disk I/O 
org.apache.commons.httpclient.RequestOutputStream.setUseChunking(boolean)
          Use ChunkedOutputStream; 
org.apache.commons.httpclient.methods.GetMethod.setUseDisk(boolean)
          the client is responsible for disk I/O 
org.apache.commons.httpclient.HttpClient.startSession(String, int)
          use HostConfiguration 
org.apache.commons.httpclient.HttpClient.startSession(String, int, boolean)
          use HostConfiguration 
org.apache.commons.httpclient.HttpClient.startSession(String, int, Credentials)
          use HostConfiguration and HttpState 
org.apache.commons.httpclient.HttpClient.startSession(String, int, Credentials, boolean)
          use HostConfiguration and HttpState 
org.apache.commons.httpclient.HttpClient.startSession(String, int, String, int)
          use HostConfiguration 
org.apache.commons.httpclient.HttpClient.startSession(String, int, String, int, boolean)
          use HostConfiguration 
org.apache.commons.httpclient.HttpClient.startSession(URI)
          use HostConfiguration 
org.apache.commons.httpclient.HttpClient.startSession(URL)
          use HostConfiguration 
org.apache.commons.httpclient.HttpClient.startSession(URL, Credentials)
          use HostConfiguration and HttpState 
org.apache.commons.httpclient.util.URIUtil.toDocumentCharset(String)
          Do not use. To be removed 
org.apache.commons.httpclient.util.URIUtil.toDocumentCharset(String, String)
          Do not use. To be removed 
org.apache.commons.httpclient.util.URIUtil.toProtocolCharset(String)
          Do not use. To be removed 
org.apache.commons.httpclient.util.URIUtil.toProtocolCharset(String, String)
          Do not use. To be removed 
org.apache.commons.httpclient.util.URIUtil.toUsingCharset(String, String, String)
          Do not use. To be removed 
org.apache.commons.httpclient.RequestOutputStream.write(byte[], int, int)
          Use ChunkedOutputStream; 
org.apache.commons.httpclient.RequestOutputStream.write(int)
          Use ChunkedOutputStream; 
 

Deprecated Constructors
org.apache.commons.httpclient.methods.EntityEnclosingMethod(String, String)
          the client is responsible for disk I/O 
org.apache.commons.httpclient.methods.EntityEnclosingMethod(String, String, String)
          the client is responsible for disk I/O 
org.apache.commons.httpclient.methods.ExpectContinueMethod(String, String)
          the client is responsible for disk I/O 
org.apache.commons.httpclient.methods.ExpectContinueMethod(String, String, String)
          the client is responsible for disk I/O 
org.apache.commons.httpclient.methods.GetMethod(String, File)
          the client is responsible for disk I/O 
org.apache.commons.httpclient.methods.GetMethod(String, String)
          the client is responsible for disk I/O 
org.apache.commons.httpclient.methods.GetMethod(String, String, String)
          the client is responsible for disk I/O 
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) 
org.apache.commons.httpclient.methods.PostMethod(String, String)
          the client is responsible for disk I/O 
org.apache.commons.httpclient.methods.PostMethod(String, String, String)
          the client is responsible for disk I/O 
org.apache.commons.httpclient.RequestOutputStream(OutputStream)
          Use ChunkedOutputStream; 
org.apache.commons.httpclient.RequestOutputStream(OutputStream, boolean)
          Use ChunkedOutputStream; 
org.apache.commons.httpclient.ResponseInputStream(InputStream, boolean, int)
          Use ChunkedInputStream; 
org.apache.commons.httpclient.ResponseInputStream(InputStream, HttpMethod)
          Use ChunkedInputStream; 
org.apache.commons.httpclient.URI(URL)
          currently somewhat wrong and diffrent with java.net.URL usage 
 



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