您的浏览器已禁用 JavaScript。
跳过导航链接
概览
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
A
B
C
D
E
F
G
H
I
J
L
M
O
P
R
S
T
U
V
W
X
A
AbstractRequest
<
Req
extends
AbstractRequest
<
Req
>> -
cn.majingjing.http.client.request
中的类
AbstractRequest(String, RequestMethod)
- 类 的构造器cn.majingjing.http.client.request.
AbstractRequest
addInterceptor(HttpInterceptor)
- 枚举 中的方法cn.majingjing.http.client.
HttpClient
asByteData()
- 类 中的方法cn.majingjing.http.client.response.
HttpResponse
asFile(File)
- 类 中的方法cn.majingjing.http.client.response.
HttpResponse
将响应结果输出到文件中
asString()
- 类 中的方法cn.majingjing.http.client.response.
HttpResponse
B
body
- 类 中的变量cn.majingjing.http.client.request.
AbstractRequest
C
close(InputStream)
- 类 中的静态方法cn.majingjing.http.client.util.
HttpUtils
close(OutputStream)
- 类 中的静态方法cn.majingjing.http.client.util.
HttpUtils
cn.majingjing.http.client
- 程序包 cn.majingjing.http.client
cn.majingjing.http.client.exception
- 程序包 cn.majingjing.http.client.exception
cn.majingjing.http.client.filter
- 程序包 cn.majingjing.http.client.filter
cn.majingjing.http.client.handler
- 程序包 cn.majingjing.http.client.handler
cn.majingjing.http.client.handler.chain
- 程序包 cn.majingjing.http.client.handler.chain
cn.majingjing.http.client.interceptor
- 程序包 cn.majingjing.http.client.interceptor
cn.majingjing.http.client.interceptor.sample
- 程序包 cn.majingjing.http.client.interceptor.sample
cn.majingjing.http.client.request
- 程序包 cn.majingjing.http.client.request
cn.majingjing.http.client.response
- 程序包 cn.majingjing.http.client.response
cn.majingjing.http.client.response.callback
- 程序包 cn.majingjing.http.client.response.callback
cn.majingjing.http.client.response.handle
- 程序包 cn.majingjing.http.client.response.handle
cn.majingjing.http.client.util
- 程序包 cn.majingjing.http.client.util
connectTimeout
- 类 中的变量cn.majingjing.http.client.request.
AbstractRequest
连接超时时间
connectTimeout(int)
- 类 中的方法cn.majingjing.http.client.request.
AbstractRequest
connectTimeout(int)
- 接口 中的方法cn.majingjing.http.client.request.
Request
为构建本次
Request
设置单独连接超时时间
custom(RequestMethod, String)
- 枚举 中的静态方法cn.majingjing.http.client.
HttpClient
custom(DataHandler<T>)
- 类 中的方法cn.majingjing.http.client.response.
HttpResponse
CustomRequest
-
cn.majingjing.http.client.request
中的类
CustomRequest(String, RequestMethod)
- 类 的构造器cn.majingjing.http.client.request.
CustomRequest
D
DataHandler
<
T
> -
cn.majingjing.http.client.response.handle
中的接口
Demo1HttpInterceptor
-
cn.majingjing.http.client.interceptor.sample
中的类
Demo1HttpInterceptor()
- 类 的构造器cn.majingjing.http.client.interceptor.sample.
Demo1HttpInterceptor
Demo2HttpInterceptor
-
cn.majingjing.http.client.interceptor.sample
中的类
Demo2HttpInterceptor()
- 类 的构造器cn.majingjing.http.client.interceptor.sample.
Demo2HttpInterceptor
doFilter(HttpRequest, HttpResponse, HttpFilterChain)
- 接口 中的方法cn.majingjing.http.client.filter.
HttpFilter
执行过滤器链方法
doFilter(HttpRequest, HttpResponse)
- 接口 中的方法cn.majingjing.http.client.filter.
HttpFilterChain
执行过滤器方法
doFilter(HttpRequest, HttpResponse)
- 类 中的方法cn.majingjing.http.client.filter.
HttpFilterChainImpl
doFilter(HttpRequest, HttpResponse, HttpFilterChain)
- 类 中的方法cn.majingjing.http.client.filter.
LoggingHttpFilter
E
execute()
- 类 中的方法cn.majingjing.http.client.request.
AbstractRequest
execute(HttpCallBack)
- 类 中的方法cn.majingjing.http.client.request.
AbstractRequest
异步执行HTTP请求
execute()
- 接口 中的方法cn.majingjing.http.client.request.
Request
执行HTTP请求
execute(HttpCallBack)
- 接口 中的方法cn.majingjing.http.client.request.
Request
异步执行HTTP请求
F
FileDataHandler
-
cn.majingjing.http.client.response.handle
中的类
FileDataHandler(File)
- 类 的构造器cn.majingjing.http.client.response.handle.
FileDataHandler
G
get(String)
- 枚举 中的静态方法cn.majingjing.http.client.
HttpClient
getException()
- 类 中的方法cn.majingjing.http.client.response.
HttpResponse
getHeaders()
- 类 中的方法cn.majingjing.http.client.response.
HttpResponse
getHttpRequest()
- 接口 中的方法cn.majingjing.http.client.handler.chain.
HttpChain
获取请求对象
GetRequest
-
cn.majingjing.http.client.request
中的类
GetRequest(String)
- 类 的构造器cn.majingjing.http.client.request.
GetRequest
getStatusCode()
- 类 中的方法cn.majingjing.http.client.response.
HttpResponse
H
handle(byte[])
- 接口 中的方法cn.majingjing.http.client.response.handle.
DataHandler
Convert body to T
handle(byte[])
- 类 中的方法cn.majingjing.http.client.response.handle.
FileDataHandler
Convert body to File
handle(byte[])
- 类 中的方法cn.majingjing.http.client.response.handle.
StringDataHandler
Convert body to T
handleRequest(HttpRequest)
- 接口 中的方法cn.majingjing.http.client.handler.
HttpHandler
执行http的请求
handleRequest(HttpRequest)
- 类 中的方法cn.majingjing.http.client.handler.
JdkHttpHandler
header(String, String)
- 类 中的方法cn.majingjing.http.client.request.
AbstractRequest
header(String, String)
- 接口 中的方法cn.majingjing.http.client.request.
Request
添加请求头信息
headers
- 类 中的变量cn.majingjing.http.client.request.
AbstractRequest
存储请求头信息
HttpCallBack
-
cn.majingjing.http.client.response.callback
中的接口
Http client
HttpChain
-
cn.majingjing.http.client.handler.chain
中的接口
httpChain()
- 类 中的静态方法cn.majingjing.http.client.util.
HttpFactory
HttpClient
-
cn.majingjing.http.client
中的枚举
Http client
HttpException
-
cn.majingjing.http.client.exception
中的异常错误
HttpException()
- 异常错误 的构造器cn.majingjing.http.client.exception.
HttpException
Constructs a new runtime exception with
null
as its detail message.
HttpException(String)
- 异常错误 的构造器cn.majingjing.http.client.exception.
HttpException
Constructs a new runtime exception with the specified detail message.
HttpException(String, Throwable)
- 异常错误 的构造器cn.majingjing.http.client.exception.
HttpException
Constructs a new runtime exception with the specified detail message and cause.
HttpException(Throwable)
- 异常错误 的构造器cn.majingjing.http.client.exception.
HttpException
Constructs a new runtime exception with the specified cause and a detail message of
(cause==null ?
HttpException(String, Throwable, boolean, boolean)
- 异常错误 的构造器cn.majingjing.http.client.exception.
HttpException
Constructs a new runtime exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
HttpFactory
-
cn.majingjing.http.client.util
中的类
HttpFactory()
- 类 的构造器cn.majingjing.http.client.util.
HttpFactory
HttpFilter
-
cn.majingjing.http.client.filter
中的接口
过滤器
HttpFilterChain
-
cn.majingjing.http.client.filter
中的接口
过滤器链
HttpFilterChainImpl
-
cn.majingjing.http.client.filter
中的类
HttpFilterChainImpl(List<HttpFilter>)
- 类 的构造器cn.majingjing.http.client.filter.
HttpFilterChainImpl
HttpHandler
-
cn.majingjing.http.client.handler
中的接口
Http处理类
HttpInterceptor
-
cn.majingjing.http.client.interceptor
中的接口
HttpRequest
-
cn.majingjing.http.client.request
中的类
HttpResponse
-
cn.majingjing.http.client.response
中的类
HttpResponse(int, byte[], HttpException, Map<String, List<String>>)
- 类 的构造器cn.majingjing.http.client.response.
HttpResponse
HttpUtils
-
cn.majingjing.http.client.util
中的类
HttpUtils()
- 类 的构造器cn.majingjing.http.client.util.
HttpUtils
I
ignoreSsl()
- 类 中的静态方法cn.majingjing.http.client.util.
SslUtils
忽略HTTPS请求的SSL证书,必须在openConnection之前调用
intercept(HttpChain)
- 接口 中的方法cn.majingjing.http.client.interceptor.
HttpInterceptor
执行过滤器
intercept(HttpChain)
- 类 中的方法cn.majingjing.http.client.interceptor.sample.
Demo1HttpInterceptor
intercept(HttpChain)
- 类 中的方法cn.majingjing.http.client.interceptor.sample.
Demo2HttpInterceptor
intercept(HttpChain)
- 类 中的方法cn.majingjing.http.client.interceptor.sample.
LoggingHttpInterceptor
isEmpty(String)
- 类 中的静态方法cn.majingjing.http.client.util.
StringUtils
isNotEmpty(String)
- 类 中的静态方法cn.majingjing.http.client.util.
StringUtils
isSuccess(int)
- 类 中的静态方法cn.majingjing.http.client.util.
HttpUtils
isSuccessed()
- 类 中的方法cn.majingjing.http.client.response.
HttpResponse
J
JdkHttpHandler
-
cn.majingjing.http.client.handler
中的类
JdkHttpHandler()
- 类 的构造器cn.majingjing.http.client.handler.
JdkHttpHandler
json(String)
- 类 中的方法cn.majingjing.http.client.request.
PostRequest
L
LoggingHttpFilter
-
cn.majingjing.http.client.filter
中的类
LoggingHttpFilter()
- 类 的构造器cn.majingjing.http.client.filter.
LoggingHttpFilter
LoggingHttpInterceptor
-
cn.majingjing.http.client.interceptor.sample
中的类
LoggingHttpInterceptor()
- 类 的构造器cn.majingjing.http.client.interceptor.sample.
LoggingHttpInterceptor
M
maxRetry
- 类 中的变量cn.majingjing.http.client.request.
AbstractRequest
maxRetry(int)
- 类 中的方法cn.majingjing.http.client.request.
AbstractRequest
maxRetry
- 类 中的变量cn.majingjing.http.client.request.
HttpRequest
maxRetry(int)
- 接口 中的方法cn.majingjing.http.client.request.
Request
失败最大重试次数
method
- 类 中的变量cn.majingjing.http.client.request.
AbstractRequest
O
onComplete(Request, HttpResponse)
- 接口 中的方法cn.majingjing.http.client.response.callback.
HttpCallBack
onComplete callback
onComplete(Request, HttpResponse)
- 类 中的方法cn.majingjing.http.client.response.callback.
SampleHttpCallBack
P
param(String, String)
- 类 中的方法cn.majingjing.http.client.request.
PostFormRequest
post(String)
- 枚举 中的静态方法cn.majingjing.http.client.
HttpClient
postForm(String)
- 枚举 中的静态方法cn.majingjing.http.client.
HttpClient
PostFormRequest
-
cn.majingjing.http.client.request
中的类
PostFormRequest(String)
- 类 的构造器cn.majingjing.http.client.request.
PostFormRequest
PostRequest
-
cn.majingjing.http.client.request
中的类
PostRequest(String)
- 类 的构造器cn.majingjing.http.client.request.
PostRequest
proceed(HttpRequest)
- 接口 中的方法cn.majingjing.http.client.handler.chain.
HttpChain
执行http请求
proceed(HttpRequest)
- 类 中的方法cn.majingjing.http.client.handler.chain.
RealHttpChain
R
readTimeout
- 类 中的变量cn.majingjing.http.client.request.
AbstractRequest
流读取超时时间
readTimeout(int)
- 类 中的方法cn.majingjing.http.client.request.
AbstractRequest
readTimeout(int)
- 接口 中的方法cn.majingjing.http.client.request.
Request
为构建本次
Request
设置单独读取流超时。
RealHttpChain
-
cn.majingjing.http.client.handler.chain
中的类
RealHttpChain(HttpHandler, List<HttpInterceptor>)
- 类 的构造器cn.majingjing.http.client.handler.chain.
RealHttpChain
removeHeader(String)
- 类 中的方法cn.majingjing.http.client.request.
AbstractRequest
removeHeader(String)
- 接口 中的方法cn.majingjing.http.client.request.
Request
从请求头中移除键值
Request
<
Req
extends
Request
<
Req
>> -
cn.majingjing.http.client.request
中的接口
RequestMethod
-
cn.majingjing.http.client.request
中的枚举
S
SampleHttpCallBack
-
cn.majingjing.http.client.response.callback
中的类
SampleHttpCallBack()
- 类 的构造器cn.majingjing.http.client.response.callback.
SampleHttpCallBack
SslUtils
-
cn.majingjing.http.client.util
中的类
ssl utils
SslUtils()
- 类 的构造器cn.majingjing.http.client.util.
SslUtils
StringDataHandler
-
cn.majingjing.http.client.response.handle
中的类
StringDataHandler()
- 类 的构造器cn.majingjing.http.client.response.handle.
StringDataHandler
StringUtils
-
cn.majingjing.http.client.util
中的类
StringUtils()
- 类 的构造器cn.majingjing.http.client.util.
StringUtils
T
text(String)
- 类 中的方法cn.majingjing.http.client.request.
PostRequest
toByteArray(InputStream)
- 类 中的静态方法cn.majingjing.http.client.util.
HttpUtils
toString()
- 类 中的方法cn.majingjing.http.client.request.
HttpRequest
U
url
- 类 中的变量cn.majingjing.http.client.request.
AbstractRequest
V
valueOf(String)
- 枚举 中的静态方法cn.majingjing.http.client.
HttpClient
返回带有指定名称的该类型的枚举常量。
valueOf(String)
- 枚举 中的静态方法cn.majingjing.http.client.request.
RequestMethod
返回带有指定名称的该类型的枚举常量。
values()
- 枚举 中的静态方法cn.majingjing.http.client.
HttpClient
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values()
- 枚举 中的静态方法cn.majingjing.http.client.request.
RequestMethod
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
W
writeTimeout
- 类 中的变量cn.majingjing.http.client.request.
AbstractRequest
流写入超时时间
writeTimeout(int)
- 类 中的方法cn.majingjing.http.client.request.
AbstractRequest
writeTimeout(int)
- 接口 中的方法cn.majingjing.http.client.request.
Request
为构建本次
Request
设置单独写入流超时。
X
xml(String)
- 类 中的方法cn.majingjing.http.client.request.
PostRequest
A
B
C
D
E
F
G
H
I
J
L
M
O
P
R
S
T
U
V
W
X
跳过导航链接
概览
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
Copyright © 2020. All Rights Reserved.