Deprecated API

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.jk.server.JkMain
          Will be replaced with JMX operations 
 

Deprecated Methods
org.apache.coyote.tomcat4.CoyoteResponse.encodeRedirectUrl(String)
          As of Version 2.1 of the Java Servlet API, use encodeRedirectURL() instead. 
org.apache.coyote.tomcat4.CoyoteResponse.encodeUrl(String)
          As of Version 2.1 of the Java Servlet API, use encodeURL() instead. 
org.apache.coyote.tomcat4.CoyoteRequest.getRealPath(String)
          As of version 2.1 of the Java Servlet API, use ServletContext.getRealPath(). 
org.apache.tomcat.util.buf.MessageBytes.getTime()
          The buffer are general purpose, caching for headers should be done in headers 
org.apache.coyote.tomcat4.CoyoteRequest.isRequestedSessionIdFromUrl()
          As of Version 2.1 of the Java Servlet API, use isRequestedSessionIdFromURL() instead. 
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.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. 
 



Copyright ? 2003 Apache Software Foundation. All Rights Reserved.