Package org.jsoup.helper
package org.jsoup.helper
Package containing classes supporting the core jsoup code.
-
ClassDescriptionHandles per request Authenticator-based authentication.On Java 8 we install a system-wide Authenticator, which pulls the delegating Auth from a ThreadLocal pool.Helper functions to support the Cookie Manager / Cookie Storage in HttpConnection.Internal static utilities for handling data.A struct to return a detected charset, and a document (if fully read).Implementation of
Connection.HttpConnection.Base<T extends Connection.Base<T>>A regular expression abstraction.ARequestAuthenticatoris used inConnectionto authenticate if required to proxies and web servers.Provides details for the request, to determine the appropriate credentials to return.Handles requests using either HttpClient (available in JVM 11+) or HttpURLConnection.A shim interface to support both HttpURLConnection and HttpClient implementations, in a multi-version jar.A utility class to normalize input URLs.Execute HTTP requests using the HttpURLConnection implementation.Validators to check that method arguments meet expectations.Validation exceptions, as thrown by the methods inValidate.Helper class to transform aDocumentto aorg.w3c.dom.Document, for integration with toolsets that use the W3C DOM.Implements the conversion by walking the input.