## Deprecated API

Contents

- Deprecated Classes
- Deprecated Methods
- Deprecated Constructors

Deprecated Classes
com.gargoylesoftware.htmlunit.html.ClickableElement As of 2.5, use `HtmlElement` instead.
com.gargoylesoftware.htmlunit.html.StyledElement As of 2.5, use `HtmlElement` instead.

Deprecated Methods
com.gargoylesoftware.htmlunit.WebRequestSettings.addAdditionalHeader(String, String) As of 2.6, please use `WebRequestSettings.setAdditionalHeader(String, String)` instead
com.gargoylesoftware.htmlunit.WebResponseImpl.getContentCharSet() As of 2.6, please use @link `WebResponseImpl.getContentCharset()`
com.gargoylesoftware.htmlunit.WebResponse.getContentCharSet() as of 2.6, please use `WebResponse.getContentCharset()`
com.gargoylesoftware.htmlunit.util.WebResponseWrapper.getContentCharSet() As of 2.6, please use @link `WebResponseWrapper.getContentCharset()`
com.gargoylesoftware.htmlunit.html.HtmlPage.getFirstAnchorByText(String) As of 2.6, please use `HtmlPage.getAnchorByText(String)` instead
com.gargoylesoftware.htmlunit.WebClient.getIgnoreOutsideContent() As of 2.6 without replacement (HtmlUnit tries to mimic browser's behavior and browsers don't ignore outside content)
com.gargoylesoftware.htmlunit.html.HTMLParser.getIgnoreOutsideContent() As of 2.6 without replacement (HtmlUnit tries to mimic browser's behavior and browsers don't ignore outside content)
com.gargoylesoftware.htmlunit.BrowserVersion.getJavaScriptVersion() As of 2.5, with no replacement
com.gargoylesoftware.htmlunit.BrowserVersion.getJavaScriptVersionNumeric() As of 2.5, with no replacement
com.gargoylesoftware.htmlunit.WebResponseImpl.getRequestMethod() As of 2.6, please use `WebResponseImpl.getRequestSettings()`.getHttpMethod()
com.gargoylesoftware.htmlunit.WebResponse.getRequestMethod() as of 2.6, please use `WebResponse.getRequestSettings()`.getHttpMethod()
com.gargoylesoftware.htmlunit.util.WebResponseWrapper.getRequestMethod() As of 2.6, please use `WebResponseWrapper.getRequestSettings()`.getHttpMethod()
com.gargoylesoftware.htmlunit.WebResponseImpl.getRequestUrl() As of 2.6, please use `WebResponseImpl.getRequestSettings()`.getUrl()
com.gargoylesoftware.htmlunit.WebResponse.getRequestUrl() as of 2.6, please use `WebResponse.getRequestSettings()`.getUrl()
com.gargoylesoftware.htmlunit.util.WebResponseWrapper.getRequestUrl() As of 2.6, please use `WebResponseWrapper.getRequestSettings()`.getUrl()
com.gargoylesoftware.htmlunit.HttpWebConnection.newWebResponseInstance(String, WebResponseData, long, WebRequestSettings) As of 2.6, please use `HttpWebConnection.newWebResponseInstance(WebResponseData, long, WebRequestSettings)`
com.gargoylesoftware.htmlunit.html.HTMLParser.parse(WebResponse, WebWindow) as of version 2.6, please use `HTMLParser.parseHtml(WebResponse, WebWindow)` instead
com.gargoylesoftware.htmlunit.WebClient.setIgnoreOutsideContent(boolean) As of 2.6 without replacement (HtmlUnit tries to mimic browser's behavior and browsers don't ignore outside content)
com.gargoylesoftware.htmlunit.html.HTMLParser.setIgnoreOutsideContent(boolean) As of 2.6 without replacement (HtmlUnit tries to mimic browser's behavior and browsers don't ignore outside content)
com.gargoylesoftware.htmlunit.BrowserVersion.setJavaScriptVersion(String) As of 2.5, with no replacement
com.gargoylesoftware.htmlunit.html.DomText.splitDomText(int) as of 2.6, please use `DomText.splitText(int)` instead

Deprecated Constructors
com.gargoylesoftware.htmlunit.BrowserVersion(String, String, String, String, float) as of 2.5, use `BrowserVersion.BrowserVersion(String, String, String, float)`
com.gargoylesoftware.htmlunit.BrowserVersion(String, String, String, String, float, BrowserVersionFeatures[]) as of 2.5, use `BrowserVersion.BrowserVersion(String, String, String, float, BrowserVersionFeatures[])`
com.gargoylesoftware.htmlunit.html.DomNode()
com.gargoylesoftware.htmlunit.WebResponseData(InputStream, int, String, List<NameValuePair>) As of HtmlUnit-2.8.
com.gargoylesoftware.htmlunit.WebResponseImpl(WebResponseData, String, WebRequestSettings, long) As of 2.6, please use @link `WebResponseImpl.WebResponseImpl(WebResponseData, WebRequestSettings, long)`
com.gargoylesoftware.htmlunit.WebWindowImpl() As of 1.12

Copyright © 2002-2011 Gargoyle Software Inc.. All Rights Reserved.