Deprecated API

Deprecated Interfaces
com.meterware.httpunit.HtmlErrorListener
          as of 1.5.2, use HTMLParserListener 
 

Deprecated Methods
com.meterware.httpunit.WebClient.addCookie(String, String)
          as of 1.6, use #putCookie instead. 
com.meterware.httpunit.cookies.CookieJar.addCookie(String, String)
          as of 1.6, use #putCookie 
com.meterware.httpunit.HttpUnitOptions.addCustomAttribute(String)
          for new Scripting engine 
com.meterware.httpunit.HttpUnitOptions.addHtmlErrorListener(HTMLParserListener)
          as of 1.5.2, use HTMLParserfactory#addHTMLParserListener 
com.meterware.httpunit.WebLink.asText()
          as of 1.6, use #getText instead 
com.meterware.httpunit.TableCell.asText()
          as of 1.6, use #getText() 
com.meterware.httpunit.WebRequestSource.doEvent(String)
          since 1.7 - use doEventScript instead 
com.meterware.httpunit.BlockElement.doEvent(String)
          since 1.7 - use doEventScript instead 
com.meterware.httpunit.scripting.ScriptingEventHandler.doEvent(String)
          since 1.7 
com.meterware.httpunit.scripting.ScriptableDelegate.doEvent(String)
          since 1.7 - use doEventScript instead 
com.meterware.httpunit.HttpUnitOptions.getAutoRedirect()
          as of 1.5.3, use ClientProperties#isAutoRedirect(); 
com.meterware.httpunit.HttpUnitOptions.getAutoRefresh()
          as of 1.5.3, use ClientProperties#isAutoRefresh(); 
com.meterware.httpunit.WebClient.getCookieJar()
          - use with care - was not public in the past 
com.meterware.httpunit.HttpUnitOptions.getHtmlErrorListeners()
          as of 1.5.2, removed with no replacement 
com.meterware.httpunit.WebRequestSource.getPageFrame()
          as of 1.6, use #getFrame 
com.meterware.httpunit.HttpUnitOptions.getParameterValuesValidated()
          as of 1.6, use WebForm#newUnvalidatedRequest() to obtain a request without parameter validation. 
com.meterware.httpunit.HttpUnitOptions.getParserWarningsEnabled()
          as of 1.5.2, use HTMLParserFactory#isParserWarningsEnabled 
com.meterware.servletunit.ServletUnitServletContext.getServlet(String)
          as of Servlet API 2.1 
com.meterware.servletunit.ServletUnitServletContext.getServletNames()
          as of Servlet API 2.1 
com.meterware.servletunit.ServletUnitServletContext.getServlets()
          as of Servlet API 2.0 
com.meterware.httpunit.WebClient.getUserAgent()
          as of 1.4.6. Use ClientProperties#getUserAgent instead. 
com.meterware.httpunit.HttpUnitOptions.isAcceptCookies()
          as of 1.5.3, use ClientProperties#isAcceptCookies(); 
com.meterware.httpunit.HttpUnitOptions.isAcceptGzip()
          as of 1.5.3, use ClientProperties#isAcceptGzip(); 
com.meterware.servletunit.ServletUnitServletContext.log(Exception, String)
          use log( String, Throwable ) 
com.meterware.httpunit.HttpUnitOptions.removeHtmlErrorListener(HTMLParserListener)
          as of 1.5.2, use HTMLParserfactory#removeHTMLParserListener 
com.meterware.httpunit.FormControl.sendOnChangeEvent()
          since 1.7 use doOnChangeEvent instead 
com.meterware.httpunit.FormControl.sendOnClickEvent()
          since 1.7 use doOnClickEvent instead 
com.meterware.httpunit.FormControl.sendOnMouseDownEvent()
          since 1.7 use doOnMouseDownEvent instead 
com.meterware.httpunit.FormControl.sendOnMouseUpEvent()
          since 1.7 use doOnMouseUpEvent instead 
com.meterware.httpunit.HttpUnitOptions.setAcceptCookies(boolean)
          as of 1.5.3, use ClientProperties#setAcceptCookies(); 
com.meterware.httpunit.HttpUnitOptions.setAcceptGzip(boolean)
          as of 1.5.3, use ClientProperties#setAcceptGzip(); 
com.meterware.httpunit.WebClient.setAuthorization(String, String)
          as of 1.7. Use #setAuthentication for more accurate emulation of browser behavior. 
com.meterware.httpunit.HttpUnitOptions.setAutoRedirect(boolean)
          as of 1.5.3, use ClientProperties#setAutoRedirect(); 
com.meterware.httpunit.HttpUnitOptions.setAutoRefresh(boolean)
          as of 1.5.3, use ClientProperties#setAutoRefresh(); 
com.meterware.servletunit.ServletRunner.setContextParameter(String, Object)
          - test case for this function deactivated wf 2007-12-30 
com.meterware.httpunit.HttpUnitOptions.setParameterValuesValidated(boolean)
          as of 1.6, use WebForm#newUnvalidatedRequest() to obtain a request without parameter validation. 
com.meterware.httpunit.HttpUnitOptions.setParserWarningsEnabled(boolean)
          as of 1.5.2, use HTMLParserFactory#setParserWarningsEnabled 
com.meterware.httpunit.WebClient.setUserAgent(String)
          as of 1.4.6. Use ClientProperties#setUserAgent instead. 
 

Deprecated Constructors
com.meterware.servletunit.ServletRunner(String)
          as of 1.6, use ServletRunner.ServletRunner(File) 
com.meterware.servletunit.ServletRunner(String, String)
          as of 1.6, use ServletRunner.ServletRunner(File,String) 
 


Copyright © 2000-2008 Russell Gold. See license agreement for rights granted.