To get a new Connection, use {@link org.jsoup.Jsoup#connect(String)}. Connections contain {@link Connection.Request}and {@link Connection.Response} objects. The request objects are reusable as prototype requests.
Request configuration can be made using either the shortcut methods in Connection (e.g. {@link #userAgent(String)}), or by methods in the Connection.Request object directly. All request configuration must be made before the request is executed.
The Connection interface is currently in beta and subject to change. Comments, suggestions, and bug reports are welcome.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|