|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Deprecated Classes | |
org.apache.tomcat.util.buf.DateTool
Will be replaced with a more efficient impl, based on FastDateFormat, with an API using less objects. |
|
org.apache.catalina.ant.InstallTask
Replaced by DeployTask |
|
org.apache.jk.server.JkMain
Will be replaced with JMX operations |
|
org.apache.catalina.ant.RemoveTask
Replaced by UndeployTask |
Deprecated Fields | |
org.apache.tomcat.util.digester.Digester.JAXP_SCHEMA_LANGUAGE
This is now managed by ParserFeatureSetterFactory |
Deprecated Methods | |
org.apache.ajp.Ajp13.available()
-- Will use reqHandler, make sure nobody else calls this |
|
org.apache.tomcat.util.digester.Rule.begin(Attributes)
Use the begin
method with namespace and name
parameters instead. |
|
org.apache.tomcat.util.digester.Rule.body(String)
Use the body method
with namespace and name parameters
instead. |
|
org.apache.catalina.connector.Response.encodeRedirectUrl(String)
As of Version 2.1 of the Java Servlet API, use encodeRedirectURL() instead. |
|
org.apache.coyote.tomcat4.CoyoteResponse.encodeRedirectUrl(String)
As of Version 2.1 of the Java Servlet API, use encodeRedirectURL() instead. |
|
org.apache.catalina.connector.Response.encodeUrl(String)
As of Version 2.1 of the Java Servlet API, use encodeURL() instead. |
|
org.apache.coyote.tomcat4.CoyoteResponse.encodeUrl(String)
As of Version 2.1 of the Java Servlet API, use encodeURL() instead. |
|
org.apache.tomcat.util.digester.Rule.end()
Use the end method with
namespace and name parameters instead. |
|
org.apache.catalina.util.CookieTools.getCookieHeaderValue(Cookie)
Use StringBuffer version |
|
org.apache.tomcat.util.digester.Digester.getDebug()
This method now always returns 0. Digester uses the apache jakarta commons-logging library; see the documentation for that library for more information. |
|
org.apache.tomcat.util.digester.Digester.getReader()
Use getXMLReader() instead, which can throw a SAXException if the reader cannot be instantiated |
|
org.apache.catalina.connector.Request.getRealPath(String)
As of version 2.1 of the Java Servlet API, use ServletContext.getRealPath() . |
|
org.apache.coyote.tomcat4.CoyoteRequest.getRealPath(String)
As of version 2.1 of the Java Servlet API, use ServletContext.getRealPath() . |
|
org.apache.catalina.core.ApplicationContext.getServlet(String)
As of Java Servlet API 2.1, with no direct replacement. |
|
org.apache.catalina.core.ApplicationContext.getServletNames()
As of Java Servlet API 2.1, with no direct replacement. |
|
org.apache.catalina.core.ApplicationContext.getServlets()
As of Java Servlet API 2.1, with no direct replacement. |
|
org.apache.catalina.session.StandardSession.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.tomcat.util.buf.MessageBytes.getTime()
The buffer are general purpose, caching for headers should be done in headers |
|
org.apache.catalina.session.StandardSession.getValue(String)
As of Version 2.2, this method is replaced by getAttribute() |
|
org.apache.catalina.session.StandardSession.getValueNames()
As of Version 2.2, this method is replaced by getAttributeNames() |
|
org.apache.catalina.connector.Request.isRequestedSessionIdFromUrl()
As of Version 2.1 of the Java Servlet API, use isRequestedSessionIdFromURL() instead. |
|
org.apache.coyote.tomcat4.CoyoteRequest.isRequestedSessionIdFromUrl()
As of Version 2.1 of the Java Servlet API, use isRequestedSessionIdFromURL() instead. |
|
org.apache.catalina.core.ApplicationContext.log(Exception, String)
As of Java Servlet API 2.1, use log(String, Throwable) instead |
|
org.apache.tomcat.util.digester.Digester.log(String)
Call getLogger() and use it's logging methods |
|
org.apache.tomcat.util.net.PoolTcpEndpoint.log(String)
|
|
org.apache.tomcat.util.net.PoolTcpEndpoint.log(String, int)
|
|
org.apache.tomcat.util.digester.Digester.log(String, Throwable)
Call getLogger() and use it's logging methods |
|
org.apache.tomcat.util.net.PoolTcpEndpoint.log(String, Throwable)
|
|
org.apache.tomcat.util.net.PoolTcpEndpoint.log(String, Throwable, int)
|
|
org.apache.tomcat.util.digester.RulesBase.match(String)
Call match(namespaceURI,pattern) instead. |
|
org.apache.tomcat.util.digester.Rules.match(String)
Call match(namespaceURI,pattern) instead. |
|
org.apache.tomcat.util.digester.AbstractRulesImpl.match(String)
Call match(namespaceURI,pattern) instead. |
|
org.apache.catalina.session.StandardSession.putValue(String, Object)
As of Version 2.2, this method is replaced by setAttribute() |
|
org.apache.catalina.session.StandardSession.removeValue(String)
As of Version 2.2, this method is replaced by removeAttribute() |
|
org.apache.tomcat.util.IntrospectionUtils.replaceProperties(String, Object)
Use the explicit method |
|
org.apache.catalina.realm.JAASRealm.setAppName(String)
JAAS should use the Engine ( domain ) name and webpp/host overrides |
|
org.apache.tomcat.util.net.TcpConnectionHandler.setAttribute(String, Object)
This has nothing to do with Tcp, was used as a workaround. |
|
org.apache.catalina.startup.Catalina.setCatalinaBase()
Use initDirs() |
|
org.apache.catalina.startup.Catalina.setCatalinaHome()
Use initDirs() |
|
org.apache.tomcat.util.digester.Digester.setDebug(int)
This method now has no effect at all. Digester uses the apache jakarta comons-logging library; see the documentation for that library for more information. |
|
org.apache.naming.resources.ResourceAttributes.setLastModified(Date)
|
|
org.apache.tomcat.util.net.TcpConnectionHandler.setServer(Object)
This has nothing to do with TcpHandling, was used as a workaround |
|
org.apache.catalina.connector.Response.setStatus(int, String)
As of Version 2.1 of the Java Servlet API, this method has been deprecated due to the ambiguous meaning of the message parameter. |
|
org.apache.coyote.tomcat4.CoyoteResponse.setStatus(int, String)
As of Version 2.1 of the Java Servlet API, this method has been deprecated due to the ambiguous meaning of the message parameter. |
|
org.apache.tomcat.util.buf.MessageBytes.setTime(long, DateFormat)
The buffer are general purpose, caching for headers should be done in headers. The second parameter allows us to pass a date format instance to avoid synchronization problems. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |