## Uses of Interface
org.jsoup.Connection

Packages that use Connection
org.jsoup: Contains the main `Jsoup` class, which provides convenient static access to the jsoup functionality.
org.jsoup.helper: Package containing classes supporting the core jsoup code.
org.jsoup.nodes: HTML document structure nodes.

### Uses of Connection in org.jsoup

Methods in org.jsoup that return Connection
`static Connection` Jsoup.`connect​(java.lang.String url)` Creates a new `Connection` (session), with the defined request URL.
`Connection` Connection.`cookie​(java.lang.String name, java.lang.String value)` Set a cookie to be sent in the request.
`Connection` Connection.`cookies​(java.util.Map<java.lang.String,​java.lang.String> cookies)` Adds each of the supplied cookies to the request.
`Connection` Connection.`cookieStore​(java.net.CookieStore cookieStore)` Provide a custom or pre-filled CookieStore to be used on requests made by this Connection.
`Connection` Connection.`data​(java.lang.String... keyvals)` Add one or more request `key, val` data parameter pairs.
`Connection` Connection.`data​(java.lang.String key, java.lang.String value)` Add a request data parameter.
`Connection` Connection.`data​(java.lang.String key, java.lang.String filename, java.io.InputStream inputStream)` Add an input stream as a request data parameter.
`Connection` Connection.`data​(java.lang.String key, java.lang.String filename, java.io.InputStream inputStream, java.lang.String contentType)` Add an input stream as a request data parameter.
`Connection` Connection.`data​(java.util.Collection<Connection.KeyVal> data)` Adds all of the supplied data to the request data parameters
`Connection` Connection.`data​(java.util.Map<java.lang.String,​java.lang.String> data)` Adds all of the supplied data to the request data parameters
`Connection` Connection.`followRedirects​(boolean followRedirects)` Configures the connection to (not) follow server redirects.
`Connection` Connection.`header​(java.lang.String name, java.lang.String value)` Set a request header.
`Connection` Connection.`headers​(java.util.Map<java.lang.String,​java.lang.String> headers)` Adds each of the supplied headers to the request.
`Connection` Connection.`ignoreContentType​(boolean ignoreContentType)` Ignore the document's Content-Type when parsing the response.
`Connection` Connection.`ignoreHttpErrors​(boolean ignoreHttpErrors)` Configures the connection to not throw exceptions when a HTTP error occurs.
`Connection` Connection.`maxBodySize​(int bytes)` Set the maximum bytes to read from the (uncompressed) connection into the body, before the connection is closed, and the input truncated (i.e.
`Connection` Connection.`method​(Connection.Method method)` Set the request method to use, GET or POST.
`Connection` Connection.`newRequest()` Creates a new request, using this Connection as the session-state and to initialize the connection settings (which may then be independently on the returned Connection.Request object).
`static Connection` Jsoup.`newSession()` Creates a new `Connection` to use as a session.
`Connection` Connection.`parser​(Parser parser)` Provide an alternate parser to use when parsing the response to a Document.
`Connection` Connection.`postDataCharset​(java.lang.String charset)` Sets the default post data character set for x-www-form-urlencoded post data
`Connection` Connection.`proxy​(java.lang.String host, int port)` Set the HTTP proxy to use for this request.
`Connection` Connection.`proxy​(java.net.Proxy proxy)` Set the proxy to use for this request.
`Connection` Connection.`referrer​(java.lang.String referrer)` Set the request referrer (aka "referer") header.
`Connection` Connection.`request​(Connection.Request request)` Set the connection's request
`Connection` Connection.`requestBody​(java.lang.String body)` Set a POST (or PUT) request body.
`Connection` Connection.`response​(Connection.Response response)` Set the connection's response
`Connection` Connection.`sslSocketFactory​(javax.net.ssl.SSLSocketFactory sslSocketFactory)` Set custom SSL socket factory
`Connection` Connection.`timeout​(int millis)` Set the total request timeout duration.
`Connection` Connection.`url​(java.lang.String url)` Set the request URL to fetch.
`Connection` Connection.`url​(java.net.URL url)` Set the request URL to fetch.
`Connection` Connection.`userAgent​(java.lang.String userAgent)` Set the request user-agent header.

### Uses of Connection in org.jsoup.helper

Classes in org.jsoup.helper that implement Connection
`class` `HttpConnection` Implementation of `Connection`.

Methods in org.jsoup.helper that return Connection
`static Connection` HttpConnection.`connect​(java.lang.String url)` Create a new Connection, with the request URL specified.
`static Connection` HttpConnection.`connect​(java.net.URL url)` Create a new Connection, with the request URL specified.
`Connection` HttpConnection.`cookie​(java.lang.String name, java.lang.String value)`
`Connection` HttpConnection.`cookies​(java.util.Map<java.lang.String,​java.lang.String> cookies)`
`Connection` HttpConnection.`cookieStore​(java.net.CookieStore cookieStore)`
`Connection` HttpConnection.`data​(java.lang.String... keyvals)`
`Connection` HttpConnection.`data​(java.lang.String key, java.lang.String value)`
`Connection` HttpConnection.`data​(java.lang.String key, java.lang.String filename, java.io.InputStream inputStream)`
`Connection` HttpConnection.`data​(java.lang.String key, java.lang.String filename, java.io.InputStream inputStream, java.lang.String contentType)`
`Connection` HttpConnection.`data​(java.util.Collection<Connection.KeyVal> data)`
`Connection` HttpConnection.`data​(java.util.Map<java.lang.String,​java.lang.String> data)`
`Connection` HttpConnection.`followRedirects​(boolean followRedirects)`
`Connection` HttpConnection.`header​(java.lang.String name, java.lang.String value)`
`Connection` HttpConnection.`headers​(java.util.Map<java.lang.String,​java.lang.String> headers)`
`Connection` HttpConnection.`ignoreContentType​(boolean ignoreContentType)`
`Connection` HttpConnection.`ignoreHttpErrors​(boolean ignoreHttpErrors)`
`Connection` HttpConnection.`maxBodySize​(int bytes)`
`Connection` HttpConnection.`method​(Connection.Method method)`
`Connection` HttpConnection.`newRequest()`
`Connection` HttpConnection.`parser​(Parser parser)`
`Connection` HttpConnection.`postDataCharset​(java.lang.String charset)`
`Connection` HttpConnection.`proxy​(java.lang.String host, int port)`
`Connection` HttpConnection.`proxy​(java.net.Proxy proxy)`
`Connection` HttpConnection.`referrer​(java.lang.String referrer)`
`Connection` HttpConnection.`request​(Connection.Request request)`
`Connection` HttpConnection.`requestBody​(java.lang.String body)`
`Connection` HttpConnection.`response​(Connection.Response response)`
`Connection` HttpConnection.`sslSocketFactory​(javax.net.ssl.SSLSocketFactory sslSocketFactory)`
`Connection` HttpConnection.`timeout​(int millis)`
`Connection` HttpConnection.`url​(java.lang.String url)`
`Connection` HttpConnection.`url​(java.net.URL url)`
`Connection` HttpConnection.`userAgent​(java.lang.String userAgent)`

### Uses of Connection in org.jsoup.nodes

Methods in org.jsoup.nodes that return Connection
`Connection` Document.`connection()` Returns the Connection (Request/Response) object that was used to fetch this document, if any; otherwise, a new default Connection object.
`Connection` FormElement.`submit()` Prepare to submit this form.

Methods in org.jsoup.nodes with parameters of type Connection
`Document` Document.`connection​(Connection connection)` Set the Connection used to fetch this document.