Deprecated API


Contents
Deprecated Interfaces
com.sun.enterprise.web.connector.grizzly.comet.CometHandler
          use CometHandler from com.sun.grizzly.comet.CometHandler. 
com.sun.grizzly.util.StreamAlgorithm
          Use the ProtocolParser instead. 
 

Deprecated Classes
com.sun.enterprise.web.connector.grizzly.comet.CometContext
          use CometContext 
com.sun.enterprise.web.connector.grizzly.comet.CometEngine
          - Use CometEngine 
com.sun.enterprise.web.connector.grizzly.comet.CometEvent
          use CometEvent 
com.sun.enterprise.web.connector.grizzly.comet.CometInputStream
          use CometInputStream from com.sun.grizzly.comet 
com.sun.enterprise.web.connector.grizzly.comet.CometReader
          use CometReader from com.sun.grizzly.comet 
com.sun.enterprise.web.connector.grizzly.comet.CometWriter
          use CometWriter from com.sun.grizzly.comet 
com.sun.grizzly.util.buf.DateTool
          Will be replaced with a more efficient impl, based on FastDateFormat, with an API using less objects. 
com.sun.enterprise.web.connector.grizzly.comet.DefaultNotificationHandler
          use DefaultNotificationHandler from com.sun.grizzly.comet 
com.sun.grizzly.standalone.DynamicContentAdapter
            
com.sun.grizzly.standalone.MimeType
            
com.sun.grizzly.standalone.StaticResourcesAdapter
            
com.sun.grizzly.filter.UDPReadFilter
          The ReadFilter can be used for both TCP and UDP. 
 

Deprecated Methods
com.sun.grizzly.Controller.cancelKey(SelectionKey)
            
com.sun.grizzly.Context.execute()
            
com.sun.grizzly.SelectionKeyHandler.expire(SelectionKey, long)
            
com.sun.grizzly.DefaultSelectionKeyHandler.expire(SelectionKey, long)
            
com.sun.grizzly.BaseSelectionKeyHandler.expire(SelectionKey, long)
            
com.sun.grizzly.Controller.getSelectionKeyHandler()
          Return the SelectionKeyHandler Method is deprecated. Use SelectorHandler.getSelectionKeyHandler() instead 
com.sun.grizzly.http.servlet.ServletContextImpl.getServlet(String)
          As of Java Servlet API 2.1, with no direct replacement. 
com.sun.grizzly.http.servlet.ServletContextImpl.getServletNames()
          As of Java Servlet API 2.1, with no direct replacement. 
com.sun.grizzly.http.servlet.ServletContextImpl.getServlets()
          As of Java Servlet API 2.1, with no direct replacement. 
com.sun.grizzly.util.buf.MessageBytes.getTime()
          The buffer are general purpose, caching for headers should be done in headers 
com.sun.grizzly.BaseSelectionKeyHandler.register(SelectionKey, long)
            
com.sun.grizzly.util.IntrospectionUtils.replaceProperties(String, Object)
          Use the explicit method 
com.sun.grizzly.Controller.setSelectionKeyHandler(SelectionKeyHandler)
          Set the SelectionKeyHandler to use for managing the life cycle of SelectionKey. Method is deprecated. Use SelectorHandler.setSelectionKeyHandler() instead 
com.sun.grizzly.tcp.http11.GrizzlyResponse.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. 
com.sun.grizzly.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
com.sun.grizzly.util.buf.MessageBytes()
          Use static newInstance() in order to allow future hooks. 
 



Copyright © 2010 SUN Microsystems. All Rights Reserved.