|
Deprecated Methods |
org.osgi.service.condpermadmin.ConditionalPermissionAdmin.addConditionalPermissionInfo(ConditionInfo[], PermissionInfo[])
Since 1.1. Use ConditionalPermissionAdmin.newConditionalPermissionUpdate()
instead. |
org.apache.commons.httpclient.auth.HttpAuthenticator.authenticate(AuthScheme, HttpMethod, HttpConnection, HttpState)
use AuthScheme |
org.apache.commons.httpclient.auth.NTLMScheme.authenticate(Credentials, String, String)
Use NTLMScheme.authenticate(Credentials, HttpMethod) |
org.apache.commons.httpclient.auth.DigestScheme.authenticate(Credentials, String, String)
Use DigestScheme.authenticate(Credentials, HttpMethod) |
org.apache.commons.httpclient.auth.BasicScheme.authenticate(Credentials, String, String)
Use BasicScheme.authenticate(Credentials, HttpMethod) |
org.apache.commons.httpclient.auth.AuthScheme.authenticate(Credentials, String, String)
Use AuthScheme.authenticate(Credentials, HttpMethod)
Produces an authorization string for the given set of Credentials,
method name and URI using the given authentication scheme in response to
the actual authorization challenge. |
org.apache.commons.httpclient.auth.NTLMScheme.authenticate(NTCredentials, String)
Use non-static NTLMScheme.authenticate(Credentials, HttpMethod) |
org.apache.commons.httpclient.auth.NTLMScheme.authenticate(NTCredentials, String, String)
Use non-static NTLMScheme.authenticate(Credentials, HttpMethod) |
org.apache.commons.httpclient.auth.BasicScheme.authenticate(UsernamePasswordCredentials)
Use BasicScheme.authenticate(UsernamePasswordCredentials, String)
Returns a basic Authorization header value for the given
UsernamePasswordCredentials. |
org.apache.commons.httpclient.auth.HttpAuthenticator.authenticateDefault(HttpMethod, HttpConnection, HttpState)
use AuthScheme |
org.apache.commons.httpclient.auth.HttpAuthenticator.authenticateProxy(AuthScheme, HttpMethod, HttpConnection, HttpState)
use AuthScheme |
org.apache.commons.httpclient.auth.HttpAuthenticator.authenticateProxyDefault(HttpMethod, HttpConnection, HttpState)
use AuthScheme |
org.apache.commons.httpclient.util.URIUtil.Coder.decode(char[], String)
use org.apache.commons.codec.net.URLCodec |
org.osgi.service.condpermadmin.ConditionalPermissionInfo.delete()
Since 1.1. Use
ConditionalPermissionAdmin.newConditionalPermissionUpdate()
instead to manage the Conditional Permissions. |
org.apache.commons.httpclient.util.URIUtil.Coder.encode(String, BitSet, String)
use org.apache.commons.codec.net.URLCodec |
javax.servlet.http.HttpServletResponse.encodeRedirectUrl(String)
As of version 2.1, use
encodeRedirectURL(String url) instead |
javax.servlet.http.HttpServletResponse.encodeUrl(String)
As of version 2.1, use encodeURL(String url) instead |
org.apache.commons.httpclient.HttpMethodBase.getAuthenticationRealm()
use #getHostAuthState() |
org.apache.commons.httpclient.methods.HeadMethod.getBodyCheckTimeout()
Use HttpMethodParams |
org.apache.commons.httpclient.methods.multipart.Part.getBoundary()
uses a constant string. Rather use Part.getPartBoundary() |
org.apache.commons.httpclient.cookie.CookiePolicy.getCompatibilitySpec()
Use CookiePolicy.getCookieSpec(String) |
org.osgi.service.condpermadmin.ConditionalPermissionAdmin.getConditionalPermissionInfo(String)
Since 1.1. Use ConditionalPermissionAdmin.newConditionalPermissionUpdate()
instead. |
org.osgi.service.condpermadmin.ConditionalPermissionAdmin.getConditionalPermissionInfos()
Since 1.1. Use ConditionalPermissionAdmin.newConditionalPermissionUpdate()
instead. |
org.osgi.framework.Configurable.getConfigurationObject()
As of 1.2. Please use Configuration Admin service. |
org.apache.commons.httpclient.SimpleHttpConnectionManager.getConnection(HostConfiguration, long)
Use #getConnectionWithTimeout(HostConfiguration, long) |
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnection(HostConfiguration, long)
Use #getConnectionWithTimeout(HostConfiguration, long) |
org.apache.commons.httpclient.HttpConnectionManager.getConnection(HostConfiguration, long)
Use #getConnectionWithTimeout(HostConfiguration, long) |
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionsInUse()
Use MultiThreadedHttpConnectionManager.getConnectionsInPool() |
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionsInUse(HostConfiguration)
Use MultiThreadedHttpConnectionManager.getConnectionsInPool(HostConfiguration) |
org.apache.commons.httpclient.HttpState.getCookiePolicy()
Use
HttpMethodParams.getCookiePolicy(),
HttpMethod.getParams(). |
org.apache.commons.httpclient.HttpState.getCookies(String, int, String, boolean)
use CookieSpec#match(String, int, String, boolean, Cookie) |
org.apache.commons.httpclient.HttpState.getCredentials(String, String)
use #getCredentials(AuthScope) |
org.apache.commons.httpclient.cookie.CookiePolicy.getDefaultPolicy()
Use CookiePolicy.getDefaultSpec() |
org.apache.commons.httpclient.HttpClient.getHost()
use #getHostConfiguration() |
org.apache.commons.httpclient.HttpMethodBase.getHostConfiguration()
no longer applicable |
org.apache.commons.httpclient.HttpMethod.getHostConfiguration()
no longer applicable |
org.apache.commons.httpclient.auth.RFC2617Scheme.getID()
no longer used |
org.apache.commons.httpclient.auth.NTLMScheme.getID()
no longer used |
org.apache.commons.httpclient.auth.DigestScheme.getID()
no longer used |
org.apache.commons.httpclient.auth.AuthScheme.getID()
no longer used |
javax.servlet.http.HttpSessionContext.getIds()
As of Java Servlet API 2.1 with
no replacement. This method must return
an empty Enumeration and will be removed
in a future version of this API. |
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getMaxConnectionsPerHost()
Use HttpConnectionManagerParams.getDefaultMaxConnectionsPerHost(),
HttpConnectionManager.getParams(). |
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getMaxTotalConnections()
Use HttpConnectionManagerParams.getMaxTotalConnections(),
HttpConnectionManager.getParams(). |
org.apache.commons.httpclient.HttpMethodBase.getMethodRetryHandler()
use HttpMethodParams |
org.apache.commons.httpclient.HttpClient.getPort()
use #getHostConfiguration() |
org.apache.commons.httpclient.HttpMethodBase.getProxyAuthenticationRealm()
use #getProxyAuthState() |
org.apache.commons.httpclient.HttpState.getProxyCredentials(String, String)
use #getProxyCredentials(AuthScope) |
javax.servlet.ServletRequest.getRealPath(String)
As of Version 2.1 of the Java Servlet API,
use ServletContext.getRealPath(java.lang.String) instead. |
org.apache.commons.httpclient.URIException.getReason()
You should instead call Throwable.getMessage(). |
org.apache.commons.httpclient.HttpException.getReason()
HttpClient no longer uses this for itself. It is only
provided for compatibility with existing clients, and will be removed
in a future release. |
org.apache.commons.httpclient.HttpException.getReasonCode()
HttpClient no longer uses this for itself. It is only
provided for compatibility with existing clients, and will be removed
in a future release. |
org.apache.commons.httpclient.HttpMethodBase.getRecoverableExceptionCount()
no longer used
Returns the number of "recoverable" exceptions thrown and handled, to
allow for monitoring the quality of the connection. |
javax.servlet.UnavailableException.getServlet()
As of Java Servlet API 2.2, with no replacement.
Returns the servlet that is reporting its unavailability. |
javax.servlet.ServletContext.getServlet(String)
As of Java Servlet API 2.1, with no direct replacement.
This method was originally defined to retrieve a servlet
from a ServletContext. In this version, this method
always returns null and remains only to preserve
binary compatibility. This method will be permanently removed
in a future version of the Java Servlet API.
In lieu of this method, servlets can share information using the
ServletContext class and can perform shared business logic
by invoking methods on common non-servlet classes. |
javax.servlet.ServletContext.getServletNames()
As of Java Servlet API 2.1, with no replacement.
This method was originally defined to return an
Enumeration
of all the servlet names known to this context. In this version,
this method always returns an empty Enumeration and
remains only to preserve binary compatibility. This method will
be permanently removed in a future version of the Java Servlet API. |
javax.servlet.ServletContext.getServlets()
As of Java Servlet API 2.0, with no replacement.
This method was originally defined to return an Enumeration
of all the servlets known to this servlet context. In this
version, this method always returns an empty enumeration and
remains only to preserve binary compatibility. This method
will be permanently removed in a future version of the Java
Servlet API. |
javax.servlet.http.HttpSessionContext.getSession(String)
As of Java Servlet API 2.1 with
no replacement. This method must
return null and will be removed in
a future version of this API. |
javax.servlet.http.HttpSession.getSessionContext()
As of Version 2.1, this method is
deprecated and has no replacement.
It will be removed in a future
version of the Java Servlet API. |
org.apache.commons.httpclient.HttpConnection.getSoTimeout()
Use HttpConnectionParams.getSoTimeout(),
HttpConnection.getParams(). |
org.apache.commons.httpclient.cookie.CookiePolicy.getSpecByPolicy(int)
Use CookiePolicy.getCookieSpec(String) |
org.apache.commons.httpclient.cookie.CookiePolicy.getSpecByVersion(int)
Use CookiePolicy.getCookieSpec(String) |
org.osgi.service.packageadmin.ExportedPackage.getSpecificationVersion()
As of 1.2, replaced by ExportedPackage.getVersion(). |
org.knopflerfish.service.um.useradmin.BackEndControl.getSubscription()
the subscription is now communicated as the service property
"subscription", getSubscription still works though. |
org.osgi.service.upnp.UPnPException.getUPnPError_Code()
As of version 1.2, replaced by UPnPException.getUPnPErrorCode() |
org.apache.commons.httpclient.methods.ExpectContinueMethod.getUseExpectHeader()
Use HttpMethodParams |
javax.servlet.http.HttpSession.getValue(String)
As of Version 2.2, this method is
replaced by HttpSession.getAttribute(java.lang.String). |
javax.servlet.http.HttpSession.getValueNames()
As of Version 2.2, this method is
replaced by HttpSession.getAttributeNames() |
org.apache.commons.httpclient.Header.getValues()
Use #getElements |
org.apache.commons.httpclient.HttpConnection.getVirtualHost()
no longer applicable |
org.apache.commons.httpclient.HostConfiguration.getVirtualHost()
use HostParams |
org.apache.commons.httpclient.HttpState.isAuthenticationPreemptive()
Use
HttpClientParams.isAuthenticationPreemptive(),
HttpClient.getParams(). |
org.apache.commons.httpclient.SimpleHttpConnectionManager.isConnectionStaleCheckingEnabled()
Use HttpConnectionParams.isStaleCheckingEnabled(),
HttpConnectionManager.getParams(). |
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.isConnectionStaleCheckingEnabled()
Use HttpConnectionParams.isStaleCheckingEnabled(),
HttpConnectionManager.getParams(). |
org.apache.commons.httpclient.HostConfiguration.isHostSet()
no longer used |
org.apache.commons.httpclient.HttpMethodBase.isHttp11()
Use HttpMethodParams.getVersion() |
org.apache.commons.httpclient.HostConfiguration.isProxySet()
no longer used |
javax.servlet.http.HttpServletRequest.isRequestedSessionIdFromUrl()
As of Version 2.1 of the Java Servlet
API, use HttpServletRequest.isRequestedSessionIdFromURL()
instead. |
org.apache.commons.httpclient.HttpConnection.isStaleCheckingEnabled()
Use HttpConnectionParams.isStaleCheckingEnabled(),
HttpConnection.getParams(). |
org.apache.commons.httpclient.HttpMethodBase.isStrictMode()
Use HttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness. |
org.apache.commons.httpclient.HttpMethod.isStrictMode()
Use HttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness. |
org.apache.commons.httpclient.HttpClient.isStrictMode()
Use
DefaultHttpParams.getParameter(String)
to exercise a more granular control over HTTP protocol strictness. |
javax.servlet.ServletContext.log(Exception, String)
As of Java Servlet API 2.1, use
ServletContext.log(String message, Throwable throwable)
instead.
This method was originally defined to write an
exception's stack trace and an explanatory error message
to the servlet log file. |
org.apache.commons.httpclient.methods.OptionsMethod.needContentLength()
only entity enclosing methods set content length header |
org.apache.commons.httpclient.HeaderElement.parse(String)
Use #parseElements(String). |
org.apache.commons.httpclient.HttpParser.parseHeaders(InputStream)
use #parseHeaders(InputStream, String) |
org.apache.commons.httpclient.HttpConnection.print(String)
Use HttpConnection.print(String, String)
Writes the specified String (as bytes) to the output stream. |
org.apache.commons.httpclient.HttpConnection.printLine(String)
Use HttpConnection.printLine(String, String)
Writes the specified String (as bytes), followed by
"\r\n".getBytes() to the output stream. |
javax.servlet.http.HttpSession.putValue(String, Object)
As of Version 2.2, this method is
replaced by HttpSession.setAttribute(java.lang.String, java.lang.Object) |
org.apache.commons.httpclient.HttpConnection.readLine()
use #readLine(String) |
org.apache.commons.httpclient.HttpParser.readLine(InputStream)
use #readLine(InputStream, String) |
org.apache.commons.httpclient.HttpMethodBase.recycle()
no longer supported and will be removed in the future
version of HttpClient |
org.apache.commons.httpclient.HttpMethod.recycle()
no longer supported and will be removed in the future
version of HttpClient |
org.apache.commons.httpclient.methods.TraceMethod.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.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 |
javax.servlet.http.HttpSession.removeValue(String)
As of Version 2.2, this method is
replaced by HttpSession.removeAttribute(java.lang.String) |
org.apache.commons.httpclient.auth.HttpAuthenticator.selectAuthScheme(Header[])
Use AuthChallengeParser.parseChallenges(Header[]) and
AuthPolicy.getAuthScheme(String) |
org.apache.commons.httpclient.HttpState.setAuthenticationPreemptive(boolean)
Use
HttpClientParams.setAuthenticationPreemptive(boolean),
HttpClient.getParams(). |
org.apache.commons.httpclient.methods.HeadMethod.setBodyCheckTimeout(int)
Use HttpMethodParams |
org.osgi.service.condpermadmin.ConditionalPermissionAdmin.setConditionalPermissionInfo(String, ConditionInfo[], PermissionInfo[])
Since 1.1. Use ConditionalPermissionAdmin.newConditionalPermissionUpdate()
instead. |
org.apache.commons.httpclient.SimpleHttpConnectionManager.setConnectionStaleCheckingEnabled(boolean)
Use HttpConnectionParams.setStaleCheckingEnabled(boolean),
HttpConnectionManager.getParams(). |
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.setConnectionStaleCheckingEnabled(boolean)
Use HttpConnectionParams.setStaleCheckingEnabled(boolean),
HttpConnectionManager.getParams(). |
org.apache.commons.httpclient.HttpConnection.setConnectionTimeout(int)
Use HttpConnectionParams.setConnectionTimeout(int),
HttpConnection.getParams(). |
org.apache.commons.httpclient.HttpClient.setConnectionTimeout(int)
Use
HttpConnectionParams.setConnectionTimeout(int),
HttpConnectionManager.getParams(). |
org.apache.commons.httpclient.HttpState.setCookiePolicy(int)
Use HttpMethodParams.setCookiePolicy(String),
HttpMethod.getParams(). |
org.apache.commons.httpclient.HttpState.setCredentials(String, String, Credentials)
use #setCredentials(AuthScope, Credentials) |
org.apache.commons.httpclient.cookie.CookiePolicy.setDefaultPolicy(int)
Use CookiePolicy.registerCookieSpec(String, Class) |
org.apache.commons.httpclient.NTCredentials.setDomain(String)
Do not use. The NTCredentials objects should be immutable |
org.apache.commons.httpclient.NTCredentials.setHost(String)
Do not use. The NTCredentials objects should be immutable |
org.apache.commons.httpclient.HostConfiguration.setHost(String, String, int, Protocol)
#setHost(String, int, Protocol) |
org.apache.commons.httpclient.HttpMethodBase.setHostConfiguration(HostConfiguration)
no longer applicable |
org.apache.commons.httpclient.HttpMethodBase.setHttp11(boolean)
Use HttpMethodParams.setVersion(HttpVersion) |
org.apache.commons.httpclient.HttpClient.setHttpConnectionFactoryTimeout(long)
Use
HttpClientParams.setConnectionManagerTimeout(long),
HttpClient.getParams() |
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.setMaxConnectionsPerHost(int)
Use HttpConnectionManagerParams.setDefaultMaxConnectionsPerHost(int),
HttpConnectionManager.getParams(). |
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.setMaxTotalConnections(int)
Use HttpConnectionManagerParams.setMaxTotalConnections(int),
HttpConnectionManager.getParams(). |
org.apache.commons.httpclient.HttpMethodBase.setMethodRetryHandler(MethodRetryHandler)
use HttpMethodParams |
org.apache.commons.httpclient.UsernamePasswordCredentials.setPassword(String)
Do not use. The UsernamePasswordCredentials objects should be immutable |
org.apache.commons.httpclient.HttpState.setProxyCredentials(String, String, Credentials)
use #setProxyCredentials(AuthScope, Credentials) |
gnu.io.RXTXPort.setRcvFifoTrigger(int)
deprecated but used in Kaffe |
org.apache.commons.httpclient.URIException.setReason(String)
Callers should instead set this via a parameter to the constructor. |
org.apache.commons.httpclient.HttpException.setReason(String)
HttpClient no longer uses this for itself. It is only
provided for compatibility with existing clients, and will be removed
in a future release. |
org.apache.commons.httpclient.URIException.setReasonCode(int)
Callers should set the reason code as a parameter to the
constructor. |
org.apache.commons.httpclient.HttpException.setReasonCode(int)
HttpClient no longer uses this for itself. It is only
provided for compatibility with existing clients, and will be removed
in a future release. |
org.apache.commons.httpclient.methods.EntityEnclosingMethod.setRequestBody(InputStream)
use EntityEnclosingMethod.setRequestEntity(RequestEntity) |
org.apache.commons.httpclient.methods.EntityEnclosingMethod.setRequestBody(String)
use EntityEnclosingMethod.setRequestEntity(RequestEntity) |
org.apache.commons.httpclient.methods.EntityEnclosingMethod.setRequestContentLength(int)
Use EntityEnclosingMethod.setContentChunked(boolean) or
EntityEnclosingMethod.setRequestEntity(RequestEntity) |
org.apache.commons.httpclient.methods.EntityEnclosingMethod.setRequestContentLength(long)
Use EntityEnclosingMethod.setContentChunked(boolean) or
EntityEnclosingMethod.setRequestEntity(RequestEntity) |
org.apache.commons.httpclient.HttpConnection.setSendBufferSize(int)
Use HttpConnectionParams.setSendBufferSize(int),
HttpConnection.getParams(). |
org.apache.commons.httpclient.HttpConnection.setSoTimeout(int)
Use HttpConnectionParams.setSoTimeout(int),
HttpConnection.getParams(). |
org.apache.commons.httpclient.HttpConnection.setStaleCheckingEnabled(boolean)
Use HttpConnectionParams.setStaleCheckingEnabled(boolean),
HttpConnection.getParams(). |
javax.servlet.http.HttpServletResponse.setStatus(int, String)
As of version 2.1, due to ambiguous meaning of the
message parameter. To set a status code
use setStatus(int), to send an error with a description
use sendError(int, String).
Sets the status code and message for this response. |
org.apache.commons.httpclient.HttpMethodBase.setStrictMode(boolean)
Use HttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness. |
org.apache.commons.httpclient.HttpMethod.setStrictMode(boolean)
Use HttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness. |
org.apache.commons.httpclient.HttpClient.setStrictMode(boolean)
Use DefaultHttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness. |
org.apache.commons.httpclient.HttpClient.setTimeout(int)
Use
HttpConnectionParams.setSoTimeout(int),
HttpConnectionManager.getParams(). |
org.osgi.service.url.URLStreamHandlerSetter.setURL(URL, String, String, int, String, String)
This method is only for compatibility with handlers written
for JDK 1.1. |
org.osgi.service.url.AbstractURLStreamHandlerService.setURL(URL, String, String, int, String, String)
This method is only for compatibility with handlers written
for JDK 1.1. |
org.apache.commons.httpclient.methods.ExpectContinueMethod.setUseExpectHeader(boolean)
Use HttpMethodParams |
org.apache.commons.httpclient.UsernamePasswordCredentials.setUserName(String)
Do not use. The UsernamePasswordCredentials objects should be immutable |
org.apache.commons.httpclient.HttpConnection.setVirtualHost(String)
no longer applicable |
org.apache.commons.httpclient.HttpConnection.shutdownOutput()
unused |