|
jsoup 1.5.2-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Connection.Request
Represents a HTTP request.
Method Summary | |
---|---|
Collection<Connection.KeyVal> |
data()
Get all of the request's data parameters |
Connection.Request |
data(Connection.KeyVal keyval)
Add a data parameter to the request |
boolean |
followRedirects()
Get the current followRedirects configuration. |
Connection.Request |
followRedirects(boolean followRedirects)
Configures the request to (not) follow server redirects. |
int |
timeout()
Get the request timeout, in milliseconds. |
Connection.Request |
timeout(int millis)
Update the request timeout. |
Methods inherited from interface org.jsoup.Connection.Base |
---|
cookie, cookie, cookies, hasCookie, hasHeader, header, header, headers, method, method, removeCookie, removeHeader, url, url |
Method Detail |
---|
int timeout()
Connection.Request timeout(int millis)
millis
- timeout, in milliseconds
boolean followRedirects()
Connection.Request followRedirects(boolean followRedirects)
followRedirects
- true if server redirects should be followed.
Connection.Request data(Connection.KeyVal keyval)
keyval
- data to add.
Collection<Connection.KeyVal> data()
|
jsoup 1.5.2-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |