public class ParseRequest extends BaseHttpRequest implements Awaitable<ParseResponse>
遇到http code 200
body, bodyLen, bodyOffset, charset, contentType, cookies, DEFAULT_USERAGENT, formParts, headers, ignoreHeaders, method, queryParams, queryString, queryStringEncode, url
Constructor and Description |
---|
ParseRequest() |
ParseRequest(String url) |
Modifier and Type | Method and Description |
---|---|
ParseResponse |
await()
同步执行
|
protected void |
buildRequest()
构建请求
|
ParseRequest |
config(ParseRequestConfig config)
设置配置项
|
protected void |
configuration()
设置配置项
|
ParseRequestConfig |
getConfig() |
org.jsoup.Connection |
getConnection() |
org.jsoup.Connection.Request |
getRequest() |
body, body, body, charset, contentType, contentType, cookie, cookies, format, format, formPart, formParts, getBody, getBodyLen, getBodyOffset, getCharset, getContentType, getCookies, getFormParts, getHeaders, getIgnoreHeaders, getMethod, getQueryParams, getQueryString, getUrl, header, headers, ignoreHeader, ignoreHeaders, ignoreHeaders, isNoBodyRequest, isQueryStringEncode, method, method, queryParam, queryParams, queryStringEncode, referer, toString, url, userAgent
public ParseRequest()
public ParseRequest(String url)
public ParseRequest config(ParseRequestConfig config)
config
- configprotected void buildRequest()
BaseHttpRequest
buildRequest
in class BaseHttpRequest
protected void configuration()
public ParseResponse await()
Awaitable
await
in interface Awaitable<ParseResponse>
public org.jsoup.Connection getConnection()
public org.jsoup.Connection.Request getRequest()
public ParseRequestConfig getConfig()
Copyright © 2024. All rights reserved.