| 程序包 | 说明 |
|---|---|
| net.dongliu.requests |
The request package
|
| net.dongliu.requests.executor |
This package is only for internal use.
|
| net.dongliu.requests.utils |
Utils classes, Only for internal use!
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Cookie> |
Session.currentCookies()
Return all cookies this session current hold.
|
| 构造器和说明 |
|---|
RawResponse(String method,
String url,
int statusCode,
String statusLine,
List<Cookie> cookies,
Headers headers,
InputStream body,
Charset charset,
boolean decompress) |
RawResponse(String method,
String url,
int statusCode,
String statusLine,
List<Cookie> cookies,
Headers headers,
InputStream input,
HttpURLConnection conn) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Cookie> |
CookieJar.getCookies()
Get all cookies in this store
|
List<Cookie> |
CookieJar.getCookies(URL url)
Get cookies match the given url.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CookieJar.storeCookies(Collection<Cookie> cookies)
Add multi cookies to cookie jar.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static @Nullable Cookie |
Cookies.parseCookie(String cookieStr,
String host,
String defaultPath)
Parse one cookie header value, return the cookie.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
Cookies.match(Cookie cookie,
String protocol,
String host,
String path)
If cookie match the given scheme, host, and path.
|
Copyright © 2019. All rights reserved.