Deprecated API


Contents
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.tomcat.util.mx.DynamicMBeanProxy
          The same functionality ( and more ) is now available in commons-modeler 
org.apache.tomcat.util.log.Log
          Commons-logging should be used instead. 
org.apache.tomcat.util.threads.ThreadPoolMX
          This was an attempt to introduce a JMX dependency. A better solution was the ThreadPoolListener - which is more powerfull and provides the same features. The class is here for backward compatibility, all the methods are in super(). 
 

Deprecated Methods
com.sun.enterprise.web.connector.grizzly.comet.CometContext.getContextPath()
          - use getTopic. 
org.apache.tomcat.util.buf.MessageBytes.getTime()
          The buffer are general purpose, caching for headers should be done in headers 
org.apache.tomcat.util.net.PoolTcpEndpoint.log(String)
            
org.apache.tomcat.util.net.PoolTcpEndpoint.log(String, int)
            
org.apache.tomcat.util.net.PoolTcpEndpoint.log(String, Throwable)
            
org.apache.tomcat.util.net.PoolTcpEndpoint.log(String, Throwable, int)
            
org.apache.tomcat.util.net.TcpConnectionHandler.setServer(Object)
          This has nothing to do with TcpHandling, was used as a workaround 
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. 
 

Deprecated Constructors
org.apache.tomcat.util.buf.MessageBytes()
          Use static newInstance() in order to allow future hooks. 
 



Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.