Deprecated API


Contents
Deprecated Interfaces
javax.servlet.http.HttpSessionContext
          As of Java(tm) Servlet API 2.1 for security reasons, with no replacement. This interface will be removed in a future version of this API. 
com.buglabs.bug.program.pub.IUserAppManager
          This service will become internal to com.buglabs.bug.program. Clients should not implement. 
freemarker.template.TemplateListModel
          This interface is not multi-thread safe, and also, in some cases, not single-thread safe either. Use the TemplateListModel2 interface instead. 
 

Deprecated Classes
javax.servlet.http.HttpUtils
          As of Java(tm) Servlet API 2.3. These methods were only useful with the default encoding and have been moved to the request interfaces. 
com.buglabs.util.StreamMultiplexer
          This class can exhibit strange behavior 
 

Deprecated Fields
com.buglabs.util.RemoteOSGiServiceConstants.SERVICE_PROXY_POLICY
          With the new model, service proxies is the only supported policy. Any value set to the R_OSGi_REGISTRATION policy will have the effect of SERVICE_PROXY_POLICY; 
freemarker.template.TemplateEventAdapter.SEVERITY_DEPRECATION
          this constant has moved to the TemplateRuntimeHandler interface 
freemarker.template.TemplateEventAdapter.SEVERITY_ERROR
          this constant has moved to the TemplateRuntimeHandler interface 
freemarker.template.TemplateEventAdapter.SEVERITY_WARNING
          this constant has moved to the TemplateRuntimeHandler interface 
 

Deprecated Methods
freemarker.template.AbstractTemplate.compileFromFile(File)
          use the AbstractTemplate.compile(freemarker.template.InputSource) method to supply source streams to the template compiler 
freemarker.template.BinaryData.compileFromFile(File)
          Use the BinaryData.compile(freemarker.template.InputSource) method instead 
freemarker.template.AbstractTemplate.compileFromFile(String)
          use the AbstractTemplate.compile(freemarker.template.InputSource) method to supply source streams to the template compiler 
freemarker.template.BinaryData.compileFromFile(String)
          Use the BinaryData.compile(freemarker.template.InputSource) method instead 
freemarker.template.AbstractTemplate.compileFromStream(InputStream)
          use the AbstractTemplate.compile(freemarker.template.InputSource) method to supply source streams to the template compiler 
freemarker.template.BinaryData.compileFromStream(InputStream)
          Use the BinaryData.compile(freemarker.template.InputSource) method instead 
freemarker.template.Compileable.compileFromStream(InputStream)
          use the Compileable.compile(freemarker.template.InputSource) method to supply source streams to the template compiler 
freemarker.template.AbstractTemplate.compileFromStream(InputStream, String)
          use the AbstractTemplate.compile(freemarker.template.InputSource) method to supply source streams to the template compiler 
freemarker.template.BinaryData.compileFromStream(InputStream, String)
          Use the BinaryData.compile(freemarker.template.InputSource) method instead 
freemarker.template.Compileable.compileFromStream(InputStream, String)
          use the Compileable.compile(freemarker.template.InputSource) method to supply source streams to the template compiler 
freemarker.template.AbstractTemplate.compileFromStream(Reader)
          use the AbstractTemplate.compile(freemarker.template.InputSource) method to supply source streams to the template compiler 
javax.servlet.http.HttpServletResponse.encodeRedirectUrl(String)
          As of version 2.1, use encodeRedirectURL(String url) instead 
javax.servlet.http.HttpServletResponse.encodeUrl(String)
          As of version 2.1, use encodeURL(String url) instead 
com.buglabs.device.ButtonEvent.getDuration()
            
javax.servlet.http.HttpSessionContext.getIds()
          As of Java Servlet API 2.1 with no replacement. This method must return an empty Enumeration and will be removed in a future version of this API. 
freemarker.template.TemplateExceptionEvent.getOutput()
          use the TemplateExceptionEvent.getWriter() method for maximum efficiency, since this method now has to wrap the underlying Writer in a PrintWriter object 
javax.servlet.ServletRequest.getRealPath(String)
          As of Version 2.1 of the Java Servlet API, use ServletContext.getRealPath(java.lang.String) instead. 
com.buglabs.bug.module.gps.pub.INMEASentenceProvider.getRMC()
            
com.buglabs.bug.module.vonhippel.pub.IVonHippelModuleControl.getRS232InputStream()
            
com.buglabs.bug.module.vonhippel.pub.IVonHippelModuleControl.getRS232OutputStream()
            
javax.servlet.UnavailableException.getServlet()
          As of Java Servlet API 2.2, with no replacement. Returns the servlet that is reporting its unavailability. 
javax.servlet.ServletContext.getServlet(String)
          As of Java Servlet API 2.1, with no direct replacement.

This method was originally defined to retrieve a servlet from a ServletContext. In this version, this method always returns null and remains only to preserve binary compatibility. This method will be permanently removed in a future version of the Java Servlet API.

In lieu of this method, servlets can share information using the ServletContext class and can perform shared business logic by invoking methods on common non-servlet classes. 

javax.servlet.ServletContext.getServletNames()
          As of Java Servlet API 2.1, with no replacement.

This method was originally defined to return an Enumeration of all the servlet names known to this context. In this version, this method always returns an empty Enumeration and remains only to preserve binary compatibility. This method will be permanently removed in a future version of the Java Servlet API. 

javax.servlet.ServletContext.getServlets()
          As of Java Servlet API 2.0, with no replacement.

This method was originally defined to return an Enumeration of all the servlets known to this servlet context. In this version, this method always returns an empty enumeration and remains only to preserve binary compatibility. This method will be permanently removed in a future version of the Java Servlet API. 

javax.servlet.http.HttpSessionContext.getSession(String)
          As of Java Servlet API 2.1 with no replacement. This method must return null and will be removed in a future version of this API. 
javax.servlet.http.HttpSession.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. 
ch.ethz.iks.slp.ServiceURL.getTransport()
            
javax.servlet.http.HttpSession.getValue(String)
          As of Version 2.2, this method is replaced by HttpSession.getAttribute(java.lang.String). 
javax.servlet.http.HttpSession.getValueNames()
          As of Version 2.2, this method is replaced by HttpSession.getAttributeNames() 
javax.bluetooth.DiscoveryAgent.isInquiring()
            
javax.servlet.http.HttpServletRequest.isRequestedSessionIdFromUrl()
          As of Version 2.1 of the Java Servlet API, use HttpServletRequest.isRequestedSessionIdFromURL() instead. 
javax.servlet.ServletContext.log(Exception, String)
          As of Java Servlet API 2.1, use ServletContext.log(String message, Throwable throwable) instead.

This method was originally defined to write an exception's stack trace and an explanatory error message to the servlet log file. 

javax.servlet.http.HttpSession.putValue(String, Object)
          As of Version 2.2, this method is replaced by HttpSession.setAttribute(java.lang.String, java.lang.Object) 
javax.servlet.http.HttpSession.removeValue(String)
          As of Version 2.2, this method is replaced by HttpSession.removeAttribute(java.lang.String) 
com.buglabs.bug.module.lcd.pub.ILCDModuleControl.setBlackLight(int)
          use setBackLight. 
gnu.io.RXTXPort.setRcvFifoTrigger(int)
          deprecated but used in Kaffe 
javax.servlet.http.HttpServletResponse.setStatus(int, String)
          As of version 2.1, due to ambiguous meaning of the message parameter. To set a status code use setStatus(int), to send an error with a description use sendError(int, String). Sets the status code and message for this response. 
 

Deprecated Constructors
freemarker.template.AbstractTemplate(File)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.AbstractTemplate(InputStream)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.AbstractTemplate(Reader)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.AbstractTemplate(String)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.BinaryData(File)
          Use the InputSource constructor instead 
freemarker.template.BinaryData(InputStream)
          Use the InputSource constructor instead 
freemarker.template.BinaryData(String)
          Use the InputSource constructor instead 
org.osgi.framework.FrameworkEvent(int, Object)
          Since 1.2. This constructor is deprecated in favor of using the other constructor with the System Bundle as the event source. 
freemarker.template.HtmlExceptionListener()
          use the HtmlExceptionListener.getInstance() method instead 
freemarker.template.compiler.StandardTemplateParser(FunctionTemplateProcessor, String)
          use InputSources to pass in the text to be compiled where possible 
freemarker.template.Template(File)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.Template(InputStream)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.Template(Reader)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.Template(String)
          use the InputSource contructor to supply source streams to the template compiler 
javax.servlet.UnavailableException(int, Servlet, String)
          As of Java Servlet API 2.2, use UnavailableException.UnavailableException(String, int) instead. 
javax.servlet.UnavailableException(Servlet, String)
          As of Java Servlet API 2.2, use UnavailableException.UnavailableException(String) instead. 
freemarker.template.UnparsedTemplate(File)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.UnparsedTemplate(InputStream)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.UnparsedTemplate(Reader)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.UnparsedTemplate(String)
          use the InputSource contructor to supply source streams to the template compiler