索引
All Classes and Interfaces|常量字段值|所有程序包
A
- add(String, File) - 类中的方法 org.macrocloud.kernel.http.MultipartFormBuilder
- add(String, Object) - 类中的方法 org.macrocloud.kernel.http.FormBuilder
- add(String, Object) - 类中的方法 org.macrocloud.kernel.http.MultipartFormBuilder
- add(String, String, File) - 类中的方法 org.macrocloud.kernel.http.MultipartFormBuilder
- add(String, String, RequestBody) - 类中的方法 org.macrocloud.kernel.http.MultipartFormBuilder
- add(Headers, RequestBody) - 类中的方法 org.macrocloud.kernel.http.MultipartFormBuilder
- add(MultipartBody.Part) - 类中的方法 org.macrocloud.kernel.http.MultipartFormBuilder
- add(RequestBody) - 类中的方法 org.macrocloud.kernel.http.MultipartFormBuilder
- addCookie(Cookie) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- addEncoded(String, Object) - 类中的方法 org.macrocloud.kernel.http.FormBuilder
- addHeader(String...) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- addHeader(String, String) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- addHeader(Map<String, String>) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- addMap(Map<String, Object>) - 类中的方法 org.macrocloud.kernel.http.FormBuilder
- addMap(Map<String, Object>) - 类中的方法 org.macrocloud.kernel.http.MultipartFormBuilder
- asBytes() - 类中的方法 org.macrocloud.kernel.http.Exchange
-
Returns body to byte arrays.
- asBytes() - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- asBytes() - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns body to byte arrays.
- asDocument(ResponseSpec) - 类中的静态方法 org.macrocloud.kernel.http.DomMapper
-
Returns body to jsoup Document.
- asDomList(Class<T>) - 类中的方法 org.macrocloud.kernel.http.Exchange
-
将 xml、heml 转成对象
- asDomList(Class<T>) - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- asDomList(Class<T>) - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
将 xml、heml 转成对象
- asDomValue(Class<T>) - 类中的方法 org.macrocloud.kernel.http.Exchange
-
将 xml、heml 转成对象
- asDomValue(Class<T>) - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- asDomValue(Class<T>) - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
将 xml、heml 转成对象
- asJsonNode() - 类中的方法 org.macrocloud.kernel.http.Exchange
-
Returns body to JsonNode.
- asJsonNode() - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- asJsonNode() - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns body to JsonNode.
- asList(Class<T>) - 类中的方法 org.macrocloud.kernel.http.Exchange
-
Returns body to List.
- asList(Class<T>) - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- asList(Class<T>) - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns body to List.
- asMap(Class<?>) - 类中的方法 org.macrocloud.kernel.http.Exchange
-
Returns body to Map.
- asMap(Class<?>) - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- asMap(Class<?>) - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns body to Map.
- asMap(Class<?>, Class<?>) - 类中的方法 org.macrocloud.kernel.http.Exchange
-
Returns body to Map.
- asMap(Class<?>, Class<?>) - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- asMap(Class<?>, Class<?>) - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns body to Map.
- asStream() - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- asStream() - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns body to InputStream.
- asString() - 类中的方法 org.macrocloud.kernel.http.Exchange
-
Returns body String.
- asString() - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- asString() - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns body String.
- asValue(TypeReference<T>) - 类中的方法 org.macrocloud.kernel.http.Exchange
-
Returns body to Object.
- asValue(TypeReference<T>) - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- asValue(TypeReference<T>) - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns body to Object.
- asValue(Class<T>) - 类中的方法 org.macrocloud.kernel.http.Exchange
-
Returns body to Object.
- asValue(Class<T>) - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- asValue(Class<T>) - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns body to Object.
- async() - 类中的方法 org.macrocloud.kernel.http.FormBuilder
- async() - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- async() - 类中的方法 org.macrocloud.kernel.http.MultipartFormBuilder
- AsyncCall - org.macrocloud.kernel.http中的类
-
异步执行器
- AsyncCallback - org.macrocloud.kernel.http中的类
-
异步处理
- attr() - 注释类型 中的元素 org.macrocloud.kernel.http.CssQuery
-
读取的 dom attr
- authenticate(Route, Response) - 类中的方法 org.macrocloud.kernel.http.BaseAuthenticator
- authenticator(Authenticator) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
B
- baseAuth(String, String) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- BaseAuthenticator - org.macrocloud.kernel.http中的类
-
BaseAuth
- BaseAuthenticator() - 类的构造器 org.macrocloud.kernel.http.BaseAuthenticator
- BASIC - 枚举 中的枚举常量 org.macrocloud.kernel.http.LogLevel
-
Logs request and response lines.
- body(RequestBody) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- BODY - 枚举 中的枚举常量 org.macrocloud.kernel.http.LogLevel
-
Logs request and response lines and their respective headers and bodies (if present).
- bodyJson(Object) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- bodyString(String) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- bodyString(MediaType, String) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- build() - 类中的方法 org.macrocloud.kernel.http.FormBuilder
- build() - 类中的方法 org.macrocloud.kernel.http.MultipartFormBuilder
C
- cacheControl(CacheControl) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- close() - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- code() - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- code() - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns the HTTP code.
- connectTimeout(Duration) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- contentLength() - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- contentLength() - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns contentLength.
- contentType() - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- contentType() - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns contentType.
- cookieManager(CookieJar) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- cookies() - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- cookies() - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns the Cookies.
- cookies(Consumer<List<Cookie>>) - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
读取消费 cookie
- CssQuery - org.macrocloud.kernel.http中的注释类型
-
xml CssQuery
- CssQueryMethodInterceptor - org.macrocloud.kernel.http中的类
-
代理模型
- CssQueryMethodInterceptor() - 类的构造器 org.macrocloud.kernel.http.CssQueryMethodInterceptor
D
- DEFAULT_REGEX_GROUP - 注释类型中的静态变量 org.macrocloud.kernel.http.CssQuery
-
默认的正则 group
- delete(String) - 类中的静态方法 org.macrocloud.kernel.http.HttpRequest
- delete(URI) - 类中的静态方法 org.macrocloud.kernel.http.HttpRequest
- DELETE - 接口中的静态变量 org.macrocloud.kernel.http.Method
- disableSslValidation() - 类中的方法 org.macrocloud.kernel.http.HttpRequest
-
关闭 ssl 校验
- DomMapper - org.macrocloud.kernel.http中的类
-
爬虫 xml 转 bean 基于 jsoup
- DomMapper() - 类的构造器 org.macrocloud.kernel.http.DomMapper
E
- eventListener(EventListener) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- exchange(String, Map<String, String>, String) - 类中的静态方法 org.macrocloud.kernel.http.util.HttpUtil
- exchange(String, Map<String, String>, Map<String, Object>) - 类中的静态方法 org.macrocloud.kernel.http.util.HttpUtil
- Exchange - org.macrocloud.kernel.http中的类
-
Exchange
- Exchange() - 类的构造器 org.macrocloud.kernel.http.Exchange
- execute() - 类中的方法 org.macrocloud.kernel.http.FormBuilder
- execute() - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- execute() - 类中的方法 org.macrocloud.kernel.http.MultipartFormBuilder
F
- followRedirects(boolean) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- followSslRedirects(boolean) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- formBuilder() - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- FormBuilder - org.macrocloud.kernel.http中的类
-
表单构造器
G
- get(String) - 类中的静态方法 org.macrocloud.kernel.http.HttpRequest
- get(String, Map<String, Object>) - 类中的静态方法 org.macrocloud.kernel.http.util.HttpUtil
-
GET
- get(String, Map<String, String>, Map<String, Object>) - 类中的静态方法 org.macrocloud.kernel.http.util.HttpUtil
-
GET
- get(URI) - 类中的静态方法 org.macrocloud.kernel.http.HttpRequest
- GET - 接口中的静态变量 org.macrocloud.kernel.http.Method
H
- headers() - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- headers() - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns the Headers.
- headers(Consumer<Headers>) - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Headers Consumer.
- HEADERS - 枚举 中的枚举常量 org.macrocloud.kernel.http.LogLevel
-
Logs request and response lines and their respective headers.
- hostnameVerifier(HostnameVerifier) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- HttpRequest - org.macrocloud.kernel.http中的类
-
ok http 封装,请求结构体
- HttpResponse - org.macrocloud.kernel.http中的类
-
ok http 封装,相应结构体
- HttpUtil - org.macrocloud.kernel.http.util中的类
-
Http请求工具类
- HttpUtil() - 类的构造器 org.macrocloud.kernel.http.util.HttpUtil
I
- inner() - 注释类型 中的元素 org.macrocloud.kernel.http.CssQuery
-
嵌套的内部模型:默认 false
- INSTANCE - 类中的静态变量 org.macrocloud.kernel.http.RetryPolicy
- INSTANCE - 类中的静态变量 org.macrocloud.kernel.http.Slf4jLogger
- intercept(Object, Method, Object[], MethodProxy) - 类中的方法 org.macrocloud.kernel.http.CssQueryMethodInterceptor
- intercept(Interceptor.Chain) - 类中的方法 org.macrocloud.kernel.http.RetryInterceptor
- interceptor(Interceptor) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- isOk() - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- isOk() - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns the HTTP isSuccessful.
- isRedirect() - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- isRedirect() - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns the is Redirect.
L
- log() - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- log(String) - 类中的方法 org.macrocloud.kernel.http.Slf4jLogger
- log(LogLevel) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- LogLevel - org.macrocloud.kernel.http中的枚举
-
日志级别
M
- message() - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- message() - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns the HTTP status message.
- Method - org.macrocloud.kernel.http中的接口
-
http method
- multipartFormBuilder() - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- MultipartFormBuilder - org.macrocloud.kernel.http中的类
-
表单构造器
N
O
- onFailed(BiConsumer<Request, IOException>) - 类中的方法 org.macrocloud.kernel.http.AsyncCall
- onFailed(BiConsumer<Request, IOException>) - 类中的方法 org.macrocloud.kernel.http.Exchange
- onFailure(Call, IOException) - 类中的方法 org.macrocloud.kernel.http.AsyncCallback
- onResponse(Consumer<ResponseSpec>) - 类中的方法 org.macrocloud.kernel.http.AsyncCall
- onResponse(Function<ResponseSpec, R>) - 类中的方法 org.macrocloud.kernel.http.Exchange
- onResponse(Call, Response) - 类中的方法 org.macrocloud.kernel.http.AsyncCallback
- onSuccess(Function<ResponseSpec, R>) - 类中的方法 org.macrocloud.kernel.http.Exchange
- onSuccessful(Consumer<ResponseSpec>) - 类中的方法 org.macrocloud.kernel.http.AsyncCall
- onSuccessful(Function<ResponseSpec, R>) - 类中的方法 org.macrocloud.kernel.http.Exchange
- onSuccessfulOpt(Function<ResponseSpec, R>) - 类中的方法 org.macrocloud.kernel.http.Exchange
- onSuccessOpt(Function<ResponseSpec, R>) - 类中的方法 org.macrocloud.kernel.http.Exchange
- org.macrocloud.kernel.http - 程序包 org.macrocloud.kernel.http
- org.macrocloud.kernel.http.util - 程序包 org.macrocloud.kernel.http.util
P
- patch(String) - 类中的静态方法 org.macrocloud.kernel.http.HttpRequest
- patch(URI) - 类中的静态方法 org.macrocloud.kernel.http.HttpRequest
- PATCH - 接口中的静态变量 org.macrocloud.kernel.http.Method
- post(String) - 类中的静态方法 org.macrocloud.kernel.http.HttpRequest
- post(String, Map<String, Object>) - 类中的静态方法 org.macrocloud.kernel.http.util.HttpUtil
-
POST
- post(String, Map<String, String>, Map<String, Object>) - 类中的静态方法 org.macrocloud.kernel.http.util.HttpUtil
-
POST
- post(URI) - 类中的静态方法 org.macrocloud.kernel.http.HttpRequest
- POST - 接口中的静态变量 org.macrocloud.kernel.http.Method
- postJson(String, String) - 类中的静态方法 org.macrocloud.kernel.http.util.HttpUtil
-
POST请求发送JSON数据
- postJson(String, Map<String, String>, String) - 类中的静态方法 org.macrocloud.kernel.http.util.HttpUtil
-
POST请求发送JSON数据
- proxy(InetSocketAddress) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- proxyAuthenticator(Authenticator) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- proxySelector(ProxySelector) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- put(String) - 类中的静态方法 org.macrocloud.kernel.http.HttpRequest
- put(URI) - 类中的静态方法 org.macrocloud.kernel.http.HttpRequest
- PUT - 接口中的静态变量 org.macrocloud.kernel.http.Method
Q
- query(String) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- query(String, Object) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- queryEncoded(String) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- queryEncoded(String, Object) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- queryMap(Map<String, Object>) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
R
- rawBody() - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- rawBody() - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns rawBody.
- rawBody(Consumer<ResponseBody>) - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
rawBody Consumer.
- rawRequest() - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- rawRequest() - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns rawRequest.
- rawRequest(Consumer<Request>) - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
rawRequest Consumer.
- rawResponse() - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- rawResponse() - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
Returns rawResponse.
- rawResponse(Consumer<Response>) - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
rawResponse Consumer.
- readDocument(InputStream) - 类中的静态方法 org.macrocloud.kernel.http.DomMapper
-
将流读取为 jsoup Document
- readDocument(String) - 类中的静态方法 org.macrocloud.kernel.http.DomMapper
-
将 html 字符串读取为 jsoup Document
- readList(InputStream, Class<T>) - 类中的静态方法 org.macrocloud.kernel.http.DomMapper
-
读取 xml 信息为 java Bean
- readList(String, Class<T>) - 类中的静态方法 org.macrocloud.kernel.http.DomMapper
-
读取 xml 信息为 java Bean
- readList(Element, Class<T>) - 类中的静态方法 org.macrocloud.kernel.http.DomMapper
-
读取 xml 信息为 java Bean
- readTimeout(Duration) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- readValue(InputStream, Class<T>) - 类中的静态方法 org.macrocloud.kernel.http.DomMapper
-
读取 xml 信息为 java Bean
- readValue(String, Class<T>) - 类中的静态方法 org.macrocloud.kernel.http.DomMapper
-
读取 xml 信息为 java Bean
- readValue(Element, Class<T>) - 类中的静态方法 org.macrocloud.kernel.http.DomMapper
-
读取 xml 信息为 java Bean
- regex() - 注释类型 中的元素 org.macrocloud.kernel.http.CssQuery
-
正则,用于对 attr value 处理
- regexGroup() - 注释类型 中的元素 org.macrocloud.kernel.http.CssQuery
-
正则 group,默认为 0
- removeHeader(String) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- ResponseSpec - org.macrocloud.kernel.http中的接口
-
相应接口
- retry() - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- retry(int, long) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- retry(int, long, Predicate<ResponseSpec>) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- RetryInterceptor - org.macrocloud.kernel.http中的类
-
重试拦截器,应对代理问题
- RetryInterceptor() - 类的构造器 org.macrocloud.kernel.http.RetryInterceptor
- retryOn(Predicate<ResponseSpec>) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- RetryPolicy - org.macrocloud.kernel.http中的类
-
重试策略
- RetryPolicy() - 类的构造器 org.macrocloud.kernel.http.RetryPolicy
- RetryPolicy(int, long) - 类的构造器 org.macrocloud.kernel.http.RetryPolicy
- RetryPolicy(int, long, Predicate<ResponseSpec>) - 类的构造器 org.macrocloud.kernel.http.RetryPolicy
- RetryPolicy(Predicate<ResponseSpec>) - 类的构造器 org.macrocloud.kernel.http.RetryPolicy
S
- setGlobalLog(LogLevel) - 类中的静态方法 org.macrocloud.kernel.http.HttpRequest
- setHeader(String, String) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- setHttpClient(OkHttpClient) - 类中的静态方法 org.macrocloud.kernel.http.HttpRequest
- Slf4jLogger - org.macrocloud.kernel.http中的类
-
OkHttp Slf4j logger
- Slf4jLogger() - 类的构造器 org.macrocloud.kernel.http.Slf4jLogger
- sslSocketFactory(SSLSocketFactory, X509TrustManager) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
T
- toFile(File) - 类中的方法 org.macrocloud.kernel.http.Exchange
-
toFile.
- toFile(File) - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- toFile(File) - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
toFile.
- toFile(Path) - 类中的方法 org.macrocloud.kernel.http.Exchange
-
toFile.
- toFile(Path) - 类中的方法 org.macrocloud.kernel.http.HttpResponse
- toFile(Path) - 接口中的方法 org.macrocloud.kernel.http.ResponseSpec
-
toFile.
- toString() - 类中的方法 org.macrocloud.kernel.http.HttpRequest
- toString() - 类中的方法 org.macrocloud.kernel.http.HttpResponse
U
- userAgent(String) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
V
- value() - 注释类型 中的元素 org.macrocloud.kernel.http.CssQuery
-
CssQuery
- valueOf(String) - 枚举中的静态方法 org.macrocloud.kernel.http.LogLevel
-
返回带有指定名称的该类型的枚举常量。
- values() - 枚举中的静态方法 org.macrocloud.kernel.http.LogLevel
-
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。
W
- writeTimeout(Duration) - 类中的方法 org.macrocloud.kernel.http.HttpRequest
All Classes and Interfaces|常量字段值|所有程序包