Uses of Class
com.xxl.tool.http.http.HttpRequest
Packages that use HttpRequest
-
Uses of HttpRequest in com.xxl.tool.http
Methods in com.xxl.tool.http that return HttpRequestModifier and TypeMethodDescriptionstatic HttpRequestbuild GET HttpRequeststatic HttpRequestHttpTool.createPost(String url) build POST HttpRequeststatic HttpRequestHttpTool.createRequest()build HttpRequeststatic HttpRequestHttpTool.createRequest(String url) build HttpRequest -
Uses of HttpRequest in com.xxl.tool.http.http
Methods in com.xxl.tool.http.http that return HttpRequestModifier and TypeMethodDescription设置鉴权信息设置请求体 bodyHttpRequest.connectTimeout(int connectTimeout) 设置连接超时时间HttpRequest.contentType(ContentType contentType) 设置Content-Type设置Cookie设置Cookie,覆盖更新设置表单 form设置表单 form设置表单 form,覆盖更新设置请求头设置请求头,覆盖更新HttpRequest.headerDefault()设置请求头, 默认值HttpRequest.interceptor(HttpInterceptor interceptor) 设置拦截器HttpRequest.interceptor(List<HttpInterceptor> interceptors) 设置拦截器,覆盖更新设置MethodHttpRequest.readTimeout(int readTimeout) 设置读取超时时间设置请求体 request设置URLHttpRequest.useCaches(boolean useCaches) -
Uses of HttpRequest in com.xxl.tool.http.http.iface
Methods in com.xxl.tool.http.http.iface with parameters of type HttpRequestModifier and TypeMethodDescriptionvoidHttpInterceptor.after(HttpRequest httpRequest, HttpResponse httpResponse) after executevoidHttpInterceptor.before(HttpRequest httpRequest) before execute