Skip navigation links
A B C D E F G H I J M O P R S T U V 

A

AbstractAsyncHttp - Class in com.hb0730.https.inter
异步 请求 抽象
AbstractAsyncHttp(HttpConfig) - Constructor for class com.hb0730.https.inter.AbstractAsyncHttp
 
AbstractSyncHttp - Class in com.hb0730.https.inter
sync http 抽象
AbstractSyncHttp(HttpConfig) - Constructor for class com.hb0730.https.inter.AbstractSyncHttp
 
add(String, String) - Method in class com.hb0730.https.HttpHeader
添加请求参数
addAll(Map<String, String>) - Method in class com.hb0730.https.HttpHeader
添加请求参数
addHeader(HttpRequest) - Method in class com.hb0730.https.support.httpclient.HttpClientAsyncImpl
 
addHeader(HttpRequest, HttpHeader) - Method in class com.hb0730.https.support.httpclient.HttpClientSyncImpl
设置请求头信息
addHeader(HttpRequest) - Method in class com.hb0730.https.support.httpclient.HttpClientSyncImpl
 
appendIfNotContain(String, String, String) - Static method in class com.hb0730.https.utils.StringUtils
如果给定字符串str中不包含appendStr,则在str后追加appendStr; 如果已包含appendStr,则在str后追加otherwise
AsyncHttp - Interface in com.hb0730.https.inter
async http interface

B

body - Variable in class com.hb0730.https.support.SimpleHttpResponse
body stream
body(byte[]) - Method in class com.hb0730.https.support.SimpleHttpResponse
 
buildClient(OkHttpClient.Builder, HttpConfig) - Method in interface com.hb0730.https.support.okhttp3.IOkhttp3
构建 OkHttpClient
buildConfig() - Method in class com.hb0730.https.support.httpclient.HttpClientAsyncImpl
 
buildConfig() - Method in class com.hb0730.https.support.httpclient.HttpClientSyncImpl
 
builder() - Static method in class com.hb0730.https.HttpHeader
buildHttpUrl(String, Map<String, String>, boolean) - Method in interface com.hb0730.https.support.okhttp3.IOkhttp3
构建http url

C

charset - Variable in class com.hb0730.https.config.HttpConfig
charset
checkHttpNotNull(AsyncHttp) - Method in class com.hb0730.https.HttpAsync
 
checkHttpNotNull(SyncHttp) - Method in class com.hb0730.https.HttpSync
 
ClassUtils - Class in com.hb0730.https.utils
类工具类
ClassUtils() - Constructor for class com.hb0730.https.utils.ClassUtils
 
clientBuilder - Variable in class com.hb0730.https.support.okhttp3.OkHttp3AsyncImpl
 
clientBuilder - Variable in class com.hb0730.https.support.okhttp3.OkHttp3SyncImpl
 
CollectionUtils - Class in com.hb0730.https.utils
集合工具类
CollectionUtils() - Constructor for class com.hb0730.https.utils.CollectionUtils
 
com.hb0730.https - package com.hb0730.https
 
com.hb0730.https.config - package com.hb0730.https.config
 
com.hb0730.https.constants - package com.hb0730.https.constants
 
com.hb0730.https.exception - package com.hb0730.https.exception
 
com.hb0730.https.inter - package com.hb0730.https.inter
 
com.hb0730.https.support - package com.hb0730.https.support
 
com.hb0730.https.support.callback - package com.hb0730.https.support.callback
 
com.hb0730.https.support.httpclient - package com.hb0730.https.support.httpclient
 
com.hb0730.https.support.hutool - package com.hb0730.https.support.hutool
 
com.hb0730.https.support.okhttp3 - package com.hb0730.https.support.okhttp3
 
com.hb0730.https.utils - package com.hb0730.https.utils
 
Constants - Interface in com.hb0730.https.constants
常量
CONTENT_ENCODING - Static variable in interface com.hb0730.https.constants.Constants
Content-Encoding
CONTENT_TYPE - Static variable in interface com.hb0730.https.constants.Constants
Content-Type
CONTENT_TYPE_FORM_DATA_UTF_8 - Static variable in interface com.hb0730.https.constants.Constants
form-data
CONTENT_TYPE_JSON_UTF_8 - Static variable in interface com.hb0730.https.constants.Constants
JSON
contentType - Variable in class com.hb0730.https.config.HttpConfig
contentType

D

DEFAULT_ENCODING - Static variable in interface com.hb0730.https.constants.Constants
编码格式
DEFAULT_TIMEOUT - Static variable in interface com.hb0730.https.constants.Constants
超时时长,单位毫秒

E

EMPTY - Static variable in interface com.hb0730.https.constants.Constants
空字符串
encode - Variable in class com.hb0730.https.config.HttpConfig
编码, url or form-data
exec(AsyncRequestProducer, HttpCallback) - Method in class com.hb0730.https.support.httpclient.HttpClientAsyncImpl
 
exec(HttpUriRequest) - Method in class com.hb0730.https.support.httpclient.HttpClientSyncImpl
 
exec(HttpRequest) - Method in class com.hb0730.https.support.hutool.HutoolSyncImpl
 
exec(Request.Builder, HttpCallback) - Method in class com.hb0730.https.support.okhttp3.OkHttp3AsyncImpl
 
exec(Request.Builder) - Method in class com.hb0730.https.support.okhttp3.OkHttp3SyncImpl
 

F

failure(Exception) - Method in interface com.hb0730.https.support.callback.HttpCallback
Deprecated.
forEach(Map<K, V>, BiConsumer<? super K, ? super V>) - Method in class com.hb0730.https.utils.MapUtils
遍历
FORM_DATA_UTF_8 - Static variable in interface com.hb0730.https.support.okhttp3.IOkhttp3
 

G

get(String, HttpCallback) - Method in class com.hb0730.https.HttpAsync
GET 请求
get(String, Map<String, String>, HttpCallback) - Method in class com.hb0730.https.HttpAsync
GET 请求
get(String) - Method in class com.hb0730.https.HttpSync
GET 请求
get(String, Map<String, String>) - Method in class com.hb0730.https.HttpSync
GET 请求
get(String, HttpCallback) - Method in interface com.hb0730.https.inter.AsyncHttp
get 请求
get(String, Map<String, String>, HttpCallback) - Method in interface com.hb0730.https.inter.AsyncHttp
get 请求
get(String) - Method in interface com.hb0730.https.inter.SyncHttp
get 请求
get(String, Map<String, String>) - Method in interface com.hb0730.https.inter.SyncHttp
get 请求
get(String, HttpCallback) - Method in class com.hb0730.https.support.httpclient.HttpClientAsyncImpl
 
get(String, Map<String, String>, HttpCallback) - Method in class com.hb0730.https.support.httpclient.HttpClientAsyncImpl
 
get(String) - Method in class com.hb0730.https.support.httpclient.HttpClientSyncImpl
 
get(String, Map<String, String>) - Method in class com.hb0730.https.support.httpclient.HttpClientSyncImpl
 
get(String, HttpCallback) - Method in class com.hb0730.https.support.hutool.HutoolAsyncImpl
 
get(String, Map<String, String>, HttpCallback) - Method in class com.hb0730.https.support.hutool.HutoolAsyncImpl
 
get(String) - Method in class com.hb0730.https.support.hutool.HutoolSyncImpl
 
get(String, Map<String, String>) - Method in class com.hb0730.https.support.hutool.HutoolSyncImpl
 
get(String, HttpCallback) - Method in class com.hb0730.https.support.okhttp3.OkHttp3AsyncImpl
 
get(String, Map<String, String>, HttpCallback) - Method in class com.hb0730.https.support.okhttp3.OkHttp3AsyncImpl
 
get(String) - Method in class com.hb0730.https.support.okhttp3.OkHttp3SyncImpl
 
get(String, Map<String, String>) - Method in class com.hb0730.https.support.okhttp3.OkHttp3SyncImpl
 
getBodyStr() - Method in class com.hb0730.https.support.SimpleHttpResponse
获取body,默认UTF-8编码
getBodyStr(Charset) - Method in class com.hb0730.https.support.SimpleHttpResponse
获取body,自动关闭输入流
getCharSet() - Method in class com.hb0730.https.support.httpclient.HttpClientAsyncImpl
 
getCharSet() - Method in class com.hb0730.https.support.httpclient.HttpClientSyncImpl
 
getContentType() - Method in class com.hb0730.https.support.httpclient.HttpClientAsyncImpl
 
getContentType() - Method in class com.hb0730.https.support.httpclient.HttpClientSyncImpl
 
getContentType(String) - Method in class com.hb0730.https.support.hutool.HutoolAsyncImpl
 
getContentType(String) - Method in class com.hb0730.https.support.hutool.HutoolSyncImpl
 
getHeader(String) - Method in class com.hb0730.https.HttpHeader
获取请求头
getHeaders() - Method in class com.hb0730.https.HttpHeader
获取请求头
getHttp() - Method in enum com.hb0730.https.Https
获取当前的请求类型,Http的子类 HttpSync 或者 HttpAsync
getHttpConfig() - Method in class com.hb0730.https.inter.AbstractAsyncHttp
 
getHttpConfig() - Method in class com.hb0730.https.inter.AbstractSyncHttp
 
getHttpProxy(Class<T>) - Method in class com.hb0730.https.HttpAsync
 
getHttpProxy(Class<T>) - Method in class com.hb0730.https.HttpSync
 
getHttpRequest(UrlBuilder, Method, HttpConfig, HttpHeader) - Method in interface com.hb0730.https.support.hutool.IHutoolHttp
create hutool request
getRequest(UrlBuilder, Method) - Method in class com.hb0730.https.support.hutool.HutoolSyncImpl
 
getRequestBuilder(String, Map<String, String>, boolean, Map<String, String>) - Method in interface com.hb0730.https.support.okhttp3.IOkhttp3
构建 get请求

H

header - Variable in class com.hb0730.https.HttpHeader
 
header - Variable in class com.hb0730.https.inter.AbstractAsyncHttp
 
header - Variable in class com.hb0730.https.inter.AbstractSyncHttp
 
headers - Variable in class com.hb0730.https.support.SimpleHttpResponse
请求头
http - Variable in enum com.hb0730.https.Https
 
Http - Interface in com.hb0730.https.inter
Http interface
HttpAsync - Class in com.hb0730.https
异步utils
HttpAsync() - Constructor for class com.hb0730.https.HttpAsync
 
HttpCallback - Interface in com.hb0730.https.support.callback
异步请求回调
httpClient - Variable in class com.hb0730.https.support.httpclient.HttpClientAsyncImpl
 
httpClient - Variable in class com.hb0730.https.support.httpclient.HttpClientSyncImpl
 
HttpClientAsyncImpl - Class in com.hb0730.https.support.httpclient
HTTPClient async,需要自行关闭HttpClientAsyncImpl.httpClient
HttpClientAsyncImpl() - Constructor for class com.hb0730.https.support.httpclient.HttpClientAsyncImpl
 
HttpClientAsyncImpl(HttpConfig) - Constructor for class com.hb0730.https.support.httpclient.HttpClientAsyncImpl
 
HttpClientAsyncImpl(CloseableHttpAsyncClient, HttpConfig) - Constructor for class com.hb0730.https.support.httpclient.HttpClientAsyncImpl
 
HttpClientSyncImpl - Class in com.hb0730.https.support.httpclient
http sync client 实现
HttpClientSyncImpl() - Constructor for class com.hb0730.https.support.httpclient.HttpClientSyncImpl
 
HttpClientSyncImpl(CloseableHttpClient) - Constructor for class com.hb0730.https.support.httpclient.HttpClientSyncImpl
 
HttpClientSyncImpl(HttpConfig, CloseableHttpClient) - Constructor for class com.hb0730.https.support.httpclient.HttpClientSyncImpl
 
HttpConfig - Class in com.hb0730.https.config
Http 配置类
HttpConfig() - Constructor for class com.hb0730.https.config.HttpConfig
 
httpConfig - Variable in class com.hb0730.https.inter.AbstractAsyncHttp
 
httpConfig - Variable in class com.hb0730.https.inter.AbstractSyncHttp
 
HttpException - Exception in com.hb0730.https.exception
 
HttpException() - Constructor for exception com.hb0730.https.exception.HttpException
 
HttpException(String) - Constructor for exception com.hb0730.https.exception.HttpException
 
HttpException(Throwable) - Constructor for exception com.hb0730.https.exception.HttpException
 
HttpException(String, Throwable) - Constructor for exception com.hb0730.https.exception.HttpException
 
HttpHeader - Class in com.hb0730.https
http 请求头
HttpHeader() - Constructor for class com.hb0730.https.HttpHeader
 
HttpHeader(Map<String, String>) - Constructor for class com.hb0730.https.HttpHeader
 
Https - Enum in com.hb0730.https
commons utils list
Https(Http) - Constructor for enum com.hb0730.https.Https
 
HttpSync - Class in com.hb0730.https
同步请求 工具类
HttpSync() - Constructor for class com.hb0730.https.HttpSync
 
HutoolAsyncImpl - Class in com.hb0730.https.support.hutool
hutool 异步
HutoolAsyncImpl() - Constructor for class com.hb0730.https.support.hutool.HutoolAsyncImpl
 
HutoolAsyncImpl(HttpConfig) - Constructor for class com.hb0730.https.support.hutool.HutoolAsyncImpl
 
HutoolSyncImpl - Class in com.hb0730.https.support.hutool
hutool http
HutoolSyncImpl() - Constructor for class com.hb0730.https.support.hutool.HutoolSyncImpl
 
HutoolSyncImpl(HttpConfig) - Constructor for class com.hb0730.https.support.hutool.HutoolSyncImpl
 

I

IHutoolHttp - Interface in com.hb0730.https.support.hutool
 
IOkhttp3 - Interface in com.hb0730.https.support.okhttp3
Okhttp3 抽象
isBlank(String) - Method in class com.hb0730.https.utils.StringUtils
是否为""
isEmpty(Map<?, ?>) - Method in class com.hb0730.https.utils.CollectionUtils
是否为空
isEmpty(String) - Method in class com.hb0730.https.utils.StringUtils
是否为null
isPresent(String, ClassLoader) - Method in class com.hb0730.https.utils.ClassUtils
确定class是否可以被加载
isSuccess(CloseableHttpResponse) - Method in class com.hb0730.https.support.httpclient.HttpClientSyncImpl
 

J

JSON_UTF_8 - Static variable in interface com.hb0730.https.support.okhttp3.IOkhttp3
 

M

MapUtils - Class in com.hb0730.https.utils
Map工具类
MapUtils() - Constructor for class com.hb0730.https.utils.MapUtils
 

O

OkHttp3AsyncImpl - Class in com.hb0730.https.support.okhttp3
okhttp3 async impl
OkHttp3AsyncImpl() - Constructor for class com.hb0730.https.support.okhttp3.OkHttp3AsyncImpl
 
OkHttp3AsyncImpl(HttpConfig) - Constructor for class com.hb0730.https.support.okhttp3.OkHttp3AsyncImpl
 
OkHttp3AsyncImpl(OkHttpClient.Builder, HttpConfig) - Constructor for class com.hb0730.https.support.okhttp3.OkHttp3AsyncImpl
 
OkHttp3SyncImpl - Class in com.hb0730.https.support.okhttp3
okhttp3 sync impl
OkHttp3SyncImpl() - Constructor for class com.hb0730.https.support.okhttp3.OkHttp3SyncImpl
 
OkHttp3SyncImpl(HttpConfig) - Constructor for class com.hb0730.https.support.okhttp3.OkHttp3SyncImpl
 
OkHttp3SyncImpl(OkHttpClient.Builder, HttpConfig) - Constructor for class com.hb0730.https.support.okhttp3.OkHttp3SyncImpl
 

P

parseMapToUrlString(Map<String, String>, boolean) - Method in class com.hb0730.https.utils.MapUtils
将map 转成 get 请求参数格式XXX&XXX&XX
post(String, HttpCallback) - Method in class com.hb0730.https.HttpAsync
POST 请求
post(String, String, HttpCallback) - Method in class com.hb0730.https.HttpAsync
POST 请求
post(String, Map<String, String>, HttpCallback) - Method in class com.hb0730.https.HttpAsync
POST 请求
post(String) - Method in class com.hb0730.https.HttpSync
POST 请求
post(String, String) - Method in class com.hb0730.https.HttpSync
POST 请求
post(String, String, HttpHeader) - Method in class com.hb0730.https.HttpSync
 
post(String, Map<String, String>) - Method in class com.hb0730.https.HttpSync
POST 请求
post(String, Map<String, String>, HttpHeader) - Method in class com.hb0730.https.HttpSync
 
post(String, HttpCallback) - Method in interface com.hb0730.https.inter.AsyncHttp
post请求
post(String, String, HttpCallback) - Method in interface com.hb0730.https.inter.AsyncHttp
post请求
post(String, Map<String, String>, HttpCallback) - Method in interface com.hb0730.https.inter.AsyncHttp
post请求
post(String) - Method in interface com.hb0730.https.inter.SyncHttp
post请求
post(String, String) - Method in interface com.hb0730.https.inter.SyncHttp
post请求
post(String, String, HttpHeader) - Method in interface com.hb0730.https.inter.SyncHttp
post请求
post(String, Map<String, String>) - Method in interface com.hb0730.https.inter.SyncHttp
post请求
post(String, Map<String, String>, HttpHeader) - Method in interface com.hb0730.https.inter.SyncHttp
post 请求
post(String, HttpCallback) - Method in class com.hb0730.https.support.httpclient.HttpClientAsyncImpl
 
post(String, String, HttpCallback) - Method in class com.hb0730.https.support.httpclient.HttpClientAsyncImpl
 
post(String, Map<String, String>, HttpCallback) - Method in class com.hb0730.https.support.httpclient.HttpClientAsyncImpl
 
post(String) - Method in class com.hb0730.https.support.httpclient.HttpClientSyncImpl
 
post(String, String) - Method in class com.hb0730.https.support.httpclient.HttpClientSyncImpl
 
post(String, String, HttpHeader) - Method in class com.hb0730.https.support.httpclient.HttpClientSyncImpl
 
post(String, Map<String, String>) - Method in class com.hb0730.https.support.httpclient.HttpClientSyncImpl
 
post(String, Map<String, String>, HttpHeader) - Method in class com.hb0730.https.support.httpclient.HttpClientSyncImpl
 
post(String, HttpCallback) - Method in class com.hb0730.https.support.hutool.HutoolAsyncImpl
 
post(String, String, HttpCallback) - Method in class com.hb0730.https.support.hutool.HutoolAsyncImpl
 
post(String, Map<String, String>, HttpCallback) - Method in class com.hb0730.https.support.hutool.HutoolAsyncImpl
 
post(String) - Method in class com.hb0730.https.support.hutool.HutoolSyncImpl
 
post(String, String) - Method in class com.hb0730.https.support.hutool.HutoolSyncImpl
 
post(String, String, HttpHeader) - Method in class com.hb0730.https.support.hutool.HutoolSyncImpl
 
post(String, Map<String, String>) - Method in class com.hb0730.https.support.hutool.HutoolSyncImpl
 
post(String, Map<String, String>, HttpHeader) - Method in class com.hb0730.https.support.hutool.HutoolSyncImpl
 
post(String, HttpCallback) - Method in class com.hb0730.https.support.okhttp3.OkHttp3AsyncImpl
 
post(String, String, HttpCallback) - Method in class com.hb0730.https.support.okhttp3.OkHttp3AsyncImpl
 
post(String, Map<String, String>, HttpCallback) - Method in class com.hb0730.https.support.okhttp3.OkHttp3AsyncImpl
 
post(String) - Method in class com.hb0730.https.support.okhttp3.OkHttp3SyncImpl
 
post(String, String) - Method in class com.hb0730.https.support.okhttp3.OkHttp3SyncImpl
 
post(String, String, HttpHeader) - Method in class com.hb0730.https.support.okhttp3.OkHttp3SyncImpl
 
post(String, Map<String, String>) - Method in class com.hb0730.https.support.okhttp3.OkHttp3SyncImpl
 
post(String, Map<String, String>, HttpHeader) - Method in class com.hb0730.https.support.okhttp3.OkHttp3SyncImpl
 
postFormDataRequestBuild(String, Map<String, String>, boolean, MediaType, Map<String, String>) - Method in interface com.hb0730.https.support.okhttp3.IOkhttp3
build post form-data request
postJsonRequestBuild(String, String, MediaType, Map<String, String>) - Method in interface com.hb0730.https.support.okhttp3.IOkhttp3
构建 post application/json请求
proxy - Variable in class com.hb0730.https.config.HttpConfig
代理配置
proxy - Variable in class com.hb0730.https.HttpAsync
 
proxy - Static variable in class com.hb0730.https.HttpSync
 

R

response(SimpleHttpResponse) - Method in interface com.hb0730.https.support.callback.HttpCallback
响应成功 200 >= http code < 300
response(HttpCallback, HttpRequest) - Method in class com.hb0730.https.support.hutool.HutoolAsyncImpl
 

S

selectHttpProxy() - Method in class com.hb0730.https.HttpAsync
 
selectHttpProxy() - Method in class com.hb0730.https.HttpSync
 
setHeader(HttpHeader) - Method in class com.hb0730.https.HttpAsync
设置请求头
setHeader(HttpHeader) - Method in class com.hb0730.https.HttpSync
设置请求头
setHeader(HttpHeader) - Method in class com.hb0730.https.inter.AbstractAsyncHttp
 
setHeader(HttpHeader) - Method in class com.hb0730.https.inter.AbstractSyncHttp
 
setHttp(AbstractAsyncHttp) - Method in class com.hb0730.https.HttpAsync
 
setHttp(AbstractSyncHttp) - Method in class com.hb0730.https.HttpSync
 
setHttpConfig(HttpConfig) - Method in class com.hb0730.https.HttpAsync
 
setHttpConfig(HttpConfig) - Method in class com.hb0730.https.HttpSync
 
setHttpConfig(HttpConfig) - Method in class com.hb0730.https.inter.AbstractAsyncHttp
 
setHttpConfig(HttpConfig) - Method in class com.hb0730.https.inter.AbstractSyncHttp
 
SimpleHttpResponse - Class in com.hb0730.https.support
响应封装
SimpleHttpResponse() - Constructor for class com.hb0730.https.support.SimpleHttpResponse
 
StringUtils - Class in com.hb0730.https.utils
字符串工具类
StringUtils() - Constructor for class com.hb0730.https.utils.StringUtils
 
success(String) - Method in interface com.hb0730.https.support.callback.HttpCallback
Deprecated.
success - Variable in class com.hb0730.https.support.SimpleHttpResponse
是否成功
SyncHttp - Interface in com.hb0730.https.inter
sync http 接口

T

timeout - Variable in class com.hb0730.https.config.HttpConfig
超时时长,单位毫秒

U

urlBuilder(String, Map<String, String>, Charset, boolean) - Method in interface com.hb0730.https.support.hutool.IHutoolHttp
create url builder
USER_AGENT - Static variable in interface com.hb0730.https.constants.Constants
User-Agent
USER_AGENT_DATA - Static variable in interface com.hb0730.https.constants.Constants
模拟 User-Agent

V

valueOf(String) - Static method in enum com.hb0730.https.Https
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.hb0730.https.Https
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I J M O P R S T U V 
Skip navigation links

Copyright © 2022. All rights reserved.