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

A

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

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.HttpClientImpl
 
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(SimpleHttp) - Method in class com.hb0730.https.SimpleHttp
 
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.OkHttp3Impl
 
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.support - package com.hb0730.https.support
 
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(HttpUriRequest) - Method in class com.hb0730.https.support.httpclient.HttpClientImpl
 
exec(HttpRequest) - Method in class com.hb0730.https.support.hutool.HutoolImpl
 
exec(Request.Builder) - Method in class com.hb0730.https.support.okhttp3.OkHttp3Impl
 

F

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) - Method in class com.hb0730.https.SimpleHttp
GET 请求
get(String, Map<String, String>) - Method in class com.hb0730.https.SimpleHttp
GET 请求
get(String) - Method in class com.hb0730.https.support.httpclient.HttpClientImpl
 
get(String, Map<String, String>) - Method in class com.hb0730.https.support.httpclient.HttpClientImpl
 
get(String) - Method in class com.hb0730.https.support.hutool.HutoolImpl
 
get(String, Map<String, String>) - Method in class com.hb0730.https.support.hutool.HutoolImpl
 
get(String) - Method in class com.hb0730.https.support.okhttp3.OkHttp3Impl
 
get(String, Map<String, String>) - Method in class com.hb0730.https.support.okhttp3.OkHttp3Impl
 
get(String) - Method in interface com.hb0730.https.support.SimpleHttp
get 请求
get(String, Map<String, String>) - Method in interface com.hb0730.https.support.SimpleHttp
get 请求
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.HttpClientImpl
 
getContentType() - Method in class com.hb0730.https.support.httpclient.HttpClientImpl
 
getContentType(String) - Method in class com.hb0730.https.support.hutool.HutoolImpl
 
getHeader(String) - Method in class com.hb0730.https.HttpHeader
获取请求头
getHeaders() - Method in class com.hb0730.https.HttpHeader
获取请求头
getHttpConfig() - Method in class com.hb0730.https.support.AbstractSimpleHttp
 
getHttpProxy(Class<T>) - Method in class com.hb0730.https.SimpleHttp
 
getHttpRequest(HttpRequest, 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.HutoolImpl
 
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.support.AbstractSimpleHttp
 
headers - Variable in class com.hb0730.https.support.SimpleHttpResponse
请求头
HTTP - Static variable in class com.hb0730.https.SimpleHttp
create http
httpClient - Variable in class com.hb0730.https.support.httpclient.HttpClientImpl
 
HttpClientImpl - Class in com.hb0730.https.support.httpclient
http client 实现
HttpClientImpl() - Constructor for class com.hb0730.https.support.httpclient.HttpClientImpl
 
HttpClientImpl(CloseableHttpClient) - Constructor for class com.hb0730.https.support.httpclient.HttpClientImpl
 
HttpClientImpl(HttpConfig, CloseableHttpClient) - Constructor for class com.hb0730.https.support.httpclient.HttpClientImpl
 
HttpConfig - Class in com.hb0730.https.config
Http 配置类
HttpConfig() - Constructor for class com.hb0730.https.config.HttpConfig
 
httpConfig - Variable in class com.hb0730.https.support.AbstractSimpleHttp
 
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
 
HutoolImpl - Class in com.hb0730.https.support.hutool
hutool http
HutoolImpl() - Constructor for class com.hb0730.https.support.hutool.HutoolImpl
 
HutoolImpl(HttpConfig) - Constructor for class com.hb0730.https.support.hutool.HutoolImpl
 
HutoolImpl(HttpRequest) - Constructor for class com.hb0730.https.support.hutool.HutoolImpl
 
HutoolImpl(HttpRequest, HttpConfig) - Constructor for class com.hb0730.https.support.hutool.HutoolImpl
 

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.HttpClientImpl
 

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
 
MULTIPART - Static variable in interface com.hb0730.https.constants.Constants
multipart/form-data

O

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

P

parseMapToUrlString(Map<String, String>, boolean) - Method in class com.hb0730.https.utils.MapUtils
将map 转成 get 请求参数格式XXX&XXX&XX
post(String) - Method in class com.hb0730.https.SimpleHttp
POST 请求
post(String, String) - Method in class com.hb0730.https.SimpleHttp
POST 请求
post(String, String, HttpHeader) - Method in class com.hb0730.https.SimpleHttp
 
post(String) - Method in class com.hb0730.https.support.httpclient.HttpClientImpl
 
post(String, String) - Method in class com.hb0730.https.support.httpclient.HttpClientImpl
 
post(String, String, HttpHeader) - Method in class com.hb0730.https.support.httpclient.HttpClientImpl
 
post(String) - Method in class com.hb0730.https.support.hutool.HutoolImpl
 
post(String, String) - Method in class com.hb0730.https.support.hutool.HutoolImpl
 
post(String, String, HttpHeader) - Method in class com.hb0730.https.support.hutool.HutoolImpl
 
post(String) - Method in class com.hb0730.https.support.okhttp3.OkHttp3Impl
 
post(String, String) - Method in class com.hb0730.https.support.okhttp3.OkHttp3Impl
 
post(String, String, HttpHeader) - Method in class com.hb0730.https.support.okhttp3.OkHttp3Impl
 
post(String) - Method in interface com.hb0730.https.support.SimpleHttp
post请求
post(String, String) - Method in interface com.hb0730.https.support.SimpleHttp
post请求
post(String, String, HttpHeader) - Method in interface com.hb0730.https.support.SimpleHttp
post请求
postFile(String, String, String, byte[]) - Method in class com.hb0730.https.SimpleHttp
 
postFile(String, String, File) - Method in class com.hb0730.https.SimpleHttp
 
postFile(String, String, String, byte[]) - Method in class com.hb0730.https.support.httpclient.HttpClientImpl
 
postFile(String, String, File) - Method in class com.hb0730.https.support.httpclient.HttpClientImpl
 
postFile(String, String, String, byte[]) - Method in class com.hb0730.https.support.hutool.HutoolImpl
 
postFile(String, String, File) - Method in class com.hb0730.https.support.hutool.HutoolImpl
 
postFile(String, String, String, byte[]) - Method in class com.hb0730.https.support.okhttp3.OkHttp3Impl
 
postFile(String, String, File) - Method in class com.hb0730.https.support.okhttp3.OkHttp3Impl
 
postFile(String, String, String, byte[]) - Method in interface com.hb0730.https.support.SimpleHttp
post multipart/form-data 文件上传
postFile(String, String, File) - Method in interface com.hb0730.https.support.SimpleHttp
post multipart/form-data 文件上传
postFormDataRequestBuild(String, Map<String, String>, boolean, MediaType, Map<String, String>) - Method in interface com.hb0730.https.support.okhttp3.IOkhttp3
build post form-data request
postFormFile(String, Map<String, Object>) - Method in class com.hb0730.https.SimpleHttp
 
postFormFile(String, Map<String, Object>, HttpHeader) - Method in class com.hb0730.https.SimpleHttp
 
postFormFile(String, Map<String, Object>) - Method in class com.hb0730.https.support.httpclient.HttpClientImpl
 
postFormFile(String, Map<String, Object>, HttpHeader) - Method in class com.hb0730.https.support.httpclient.HttpClientImpl
 
postFormFile(String, Map<String, Object>) - Method in class com.hb0730.https.support.hutool.HutoolImpl
 
postFormFile(String, Map<String, Object>, HttpHeader) - Method in class com.hb0730.https.support.hutool.HutoolImpl
 
postFormFile(String, Map<String, Object>) - Method in class com.hb0730.https.support.okhttp3.OkHttp3Impl
 
postFormFile(String, Map<String, Object>, HttpHeader) - Method in class com.hb0730.https.support.okhttp3.OkHttp3Impl
 
postFormFile(String, Map<String, Object>) - Method in interface com.hb0730.https.support.SimpleHttp
post multipart/form-data 文件上传
postFormFile(String, Map<String, Object>, HttpHeader) - Method in interface com.hb0730.https.support.SimpleHttp
post multipart/form-data 文件上传
postFormFileRequestBuild(String, Map<String, Object>, Map<String, String>) - Method in interface com.hb0730.https.support.okhttp3.IOkhttp3
 
postFormStr(String, Map<String, String>) - Method in class com.hb0730.https.SimpleHttp
POST 请求
postFormStr(String, Map<String, String>, HttpHeader) - Method in class com.hb0730.https.SimpleHttp
 
postFormStr(String, Map<String, String>) - Method in class com.hb0730.https.support.httpclient.HttpClientImpl
 
postFormStr(String, Map<String, String>, HttpHeader) - Method in class com.hb0730.https.support.httpclient.HttpClientImpl
 
postFormStr(String, Map<String, String>) - Method in class com.hb0730.https.support.hutool.HutoolImpl
 
postFormStr(String, Map<String, String>, HttpHeader) - Method in class com.hb0730.https.support.hutool.HutoolImpl
 
postFormStr(String, Map<String, String>) - Method in class com.hb0730.https.support.okhttp3.OkHttp3Impl
 
postFormStr(String, Map<String, String>, HttpHeader) - Method in class com.hb0730.https.support.okhttp3.OkHttp3Impl
 
postFormStr(String, Map<String, String>) - Method in interface com.hb0730.https.support.SimpleHttp
post 表单请求
postFormStr(String, Map<String, String>, HttpHeader) - Method in interface com.hb0730.https.support.SimpleHttp
post 表单请求
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 - Static variable in class com.hb0730.https.SimpleHttp
 

R

request - Variable in class com.hb0730.https.support.hutool.HutoolImpl
 

S

selectHttpProxy() - Method in class com.hb0730.https.SimpleHttp
 
setHeader(HttpHeader) - Method in class com.hb0730.https.SimpleHttp
设置请求头
setHeader(HttpHeader) - Method in class com.hb0730.https.support.AbstractSimpleHttp
set Http header
setHttp(AbstractSimpleHttp) - Method in class com.hb0730.https.SimpleHttp
 
setHttpConfig(HttpConfig) - Method in class com.hb0730.https.SimpleHttp
 
setHttpConfig(HttpConfig) - Method in class com.hb0730.https.support.AbstractSimpleHttp
set http config
SimpleHttp - Class in com.hb0730.https
同步请求 工具类
SimpleHttp() - Constructor for class com.hb0730.https.SimpleHttp
 
SimpleHttp - Interface in com.hb0730.https.support
http 接口
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 - Variable in class com.hb0730.https.support.SimpleHttpResponse
是否成功

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
A B C D E F G H I J M O P R S T U 
Skip navigation links

Copyright © 2023. All rights reserved.