类 HttpClientManager
java.lang.Object
net.linksfield.cube.partnersdk.rest.HttpClientManager
- 所有已实现的接口:
Closeable,AutoCloseable,HttpFunction
public class HttpClientManager extends Object implements HttpFunction
-
字段概要
字段 修饰符和类型 字段 说明 static intHTTP_CONNECT_TIMEOUTstatic intHTTP_READ_TIMEOUT -
构造器概要
构造器 构造器 说明 HttpClientManager() -
方法概要
修饰符和类型 方法 说明 voidclose()HttpResponsedelete(HttpRequest httpRequest)DELETE请求 参数使用Json形式HttpResponseget(HttpRequest httpRequest)Get请求 参数使用QueryParams形式HttpResponsepost(HttpRequest httpRequest)Post请求 参数使用Json形式HttpResponseput(HttpRequest httpRequest)Put请求 参数使用Json形式
-
字段详细资料
-
构造器详细资料
-
HttpClientManager
public HttpClientManager()
-
-
方法详细资料
-
get
从接口复制的说明:HttpFunctionGet请求 参数使用QueryParams形式- 指定者:
get在接口中HttpFunction- 返回:
-
post
从接口复制的说明:HttpFunctionPost请求 参数使用Json形式- 指定者:
post在接口中HttpFunction- 返回:
-
put
从接口复制的说明:HttpFunctionPut请求 参数使用Json形式- 指定者:
put在接口中HttpFunction- 返回:
-
delete
从接口复制的说明:HttpFunctionDELETE请求 参数使用Json形式- 指定者:
delete在接口中HttpFunction- 返回:
-
close
- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 抛出:
IOException
-