Deprecated API


Contents
Deprecated Classes
org.mortbay.util.ajax.AjaxFilter
          Use Cometd 
org.mortbay.thread.BoundedThreadPool
          Use QueuedThreadPool 
com.acme.ChatFilter
          Use Cometd 
org.mortbay.html.Element
          Unless somebody steps forward to update and maintain this package 
org.mortbay.jetty.client.HttpExchange.CachedExchange
          use CachedExchange 
org.mortbay.jetty.client.HttpExchange.ContentExchange
          use ContentExchange 
org.mortbay.html.Page
          Unless somebody steps forward to update and maintain this package 
org.mortbay.html.Text
          all Composites now take Strings direct. 
 

Deprecated Methods
org.mortbay.jetty.servlet.ServletHandler.addFilter(String, String, int)
            
org.mortbay.jetty.handler.rewrite.RuleContainer.addRewriteRule(String, String)
            
org.mortbay.jetty.handler.rewrite.RewriteHandler.addRewriteRule(String, String)
            
org.mortbay.jetty.servlet.ServletHandler.addServlet(String, String)
            
org.mortbay.jetty.webapp.WebAppContext.addWebApplications(HandlerContainer, String, String, boolean, boolean)
          use WebAppDeployer or ContextDeployer 
org.mortbay.jetty.webapp.WebAppContext.addWebApplications(HandlerContainer, String, String, String[], boolean, boolean)
          use WebAppDeployer or ContextDeployer 
org.mortbay.jetty.webapp.WebAppContext.addWebApplications(Server, String, String, boolean, boolean)
          use WebAppDeployer or ContextDeployer 
org.mortbay.jetty.webapp.WebAppContext.addWebApplications(Server, String, String, String[], boolean, boolean)
          use WebAppDeployer or ContextDeployer 
org.mortbay.html.Element.attributes(String)
          Use attribute(String). 
org.mortbay.cometd.client.BayeuxClient.getBackoffMaxRetries()
            
org.mortbay.jetty.security.SslSelectChannelConnector.getCipherSuites()
          As of Java Servlet API 2.0, with no replacement. 
org.mortbay.jetty.handler.ContextHandler.getHosts()
            
org.mortbay.jetty.servlet.AbstractSessionManager.NullSessionContext.getIds()
          From HttpSessionContext 
org.mortbay.cometd.client.BayeuxClient.getListener()
            
org.mortbay.jetty.servlet.AbstractSessionManager.getMetaManager()
          use AbstractSessionManager.getIdManager() 
org.mortbay.jetty.SessionManager.getMetaManager()
          use SessionManager.getIdManager() 
org.mortbay.jetty.handler.rewrite.RuleContainer.getRewrite()
            
org.mortbay.jetty.handler.rewrite.RewriteHandler.getRewrite()
            
org.mortbay.util.Scanner.getScanDir()
          use getScanDirs() instead 
org.mortbay.jetty.servlet.AbstractSessionManager.NullSessionContext.getSession(String)
          From HttpSessionContext 
org.mortbay.jetty.servlet.AbstractSessionManager.Session.getSessionContext()
            
org.mortbay.jetty.servlet.AbstractSessionManager.Session.getValue(String)
          As of Version 2.2, this method is replaced by AbstractSessionManager.Session.getAttribute(java.lang.String) 
org.mortbay.jetty.servlet.AbstractSessionManager.Session.getValueNames()
          As of Version 2.2, this method is replaced by AbstractSessionManager.Session.getAttributeNames() 
org.mortbay.jetty.servlet.ServletHandler.isInitializeAtStart()
            
org.mortbay.cometd.AbstractBayeux.isJSONCommented()
            
org.mortbay.util.ajax.JSON.parse(InputStream)
          use JSON.parse(Reader) 
org.mortbay.util.ajax.JSON.parse(InputStream, boolean)
          use JSON.parse(Reader, boolean) 
org.mortbay.jetty.servlet.AbstractSessionManager.Session.putValue(String, Object)
          As of Version 2.2, this method is replaced by AbstractSessionManager.Session.setAttribute(java.lang.String, java.lang.Object) 
org.mortbay.cometd.client.BayeuxClient.remove()
          use BayeuxClient.disconnect() 
org.mortbay.jetty.servlet.AbstractSessionManager.Session.removeValue(String)
          As of Version 2.2, this method is replaced by AbstractSessionManager.Session.removeAttribute(java.lang.String) 
org.mortbay.html.Applet.setAlternate(Element)
          use add 
org.mortbay.html.Applet.setAlternate(String)
          use add 
org.mortbay.cometd.client.BayeuxClient.setBackoffMaxRetries(int)
          We retry an infinite number of times. use BayeuxClient.getBackoffIncrement() to set limits 
org.mortbay.html.Table.setCellNestingFactory(CompositeFactory)
          Use setNestingFactory or setThreadNestingFactory 
org.mortbay.jetty.security.SslSelectChannelConnector.setCipherSuites(String[])
          As of Java Servlet API 2.0, with no replacement. 
org.mortbay.cometd.AbstractBayeux.setDirectDeliver(boolean)
            
org.mortbay.jetty.handler.ContextHandler.setHosts(String[])
          use ContextHandler.setConnectorNames(String[]) 
org.mortbay.jetty.servlet.ServletHandler.setInitializeAtStart(boolean)
            
org.mortbay.cometd.client.BayeuxClient.setListener(Listener)
            
org.mortbay.jetty.nio.SelectChannelConnector.setLowResourcesMaxIdleTime(long)
          use SelectChannelConnector.setLowResourceMaxIdleTime(int) 
org.mortbay.jetty.servlet.AbstractSessionManager.setMetaManager(SessionIdManager)
          use AbstractSessionManager.setIdManager(SessionIdManager) 
org.mortbay.jetty.handler.rewrite.RuleContainer.setRewrite(PathMap)
            
org.mortbay.jetty.handler.rewrite.RewriteHandler.setRewrite(PathMap)
            
org.mortbay.util.Scanner.setScanDir(File)
          use setScanDirs(List dirs) instead 
org.mortbay.jetty.client.HttpExchange.waitForStatus(int)
            
 



Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.