Module org.htmlunit
Package org.htmlunit.httpclient
package org.htmlunit.httpclient
All the customizations we did to make HttpClient behave like a real browser.
-
ClassesClassDescriptionCustomized BasicHeaderValueFormatter for HtmlUnit.Customized BrowserCompatSpec for HtmlUnit.Customized CookieSpecProvider for HtmlUnit.A
CookieStoreused for the response of a request to an insecure origin (http); like the browsers, a cookie that would overwrite or shadow a secure cookie is ignored (RFC 6265bis section 5.7, step 16).Customized DefaultRedirectStrategy for HtmlUnit.ACookieStoreused for one request; returns only the cookies that are allowed by their SameSite attribute (all other operations are delegated).Socket factory offering facilities for insecure SSL and for SOCKS proxy support.Wrapper forUsernamePasswordCredentialsto avoid direct references spread around.Helper methods to convert from/to HttpClient.Wrapper forClientCookie.Customized HttpDelete for HtmlUnit to be an HttpEntityEnclosingRequestBase.Customized HttpOptions for HtmlUnit to be an HttpEntityEnclosingRequestBase.SOCKS awareConnectionSocketFactory.