public class HttpClientUtils extends Object
| 构造器和说明 |
|---|
HttpClientUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static cn.hutool.http.HttpResponse |
execute(String url,
String method,
Map<String,String> headers,
String body) |
static cn.hutool.http.HttpResponse |
executeRestful(String url,
String method) |
static cn.hutool.http.HttpResponse |
executeRestful(String url,
String method,
Map<String,String> headers) |
static cn.hutool.http.HttpResponse |
executeRestful(String url,
String method,
Map<String,String> headers,
String json) |
static cn.hutool.http.HttpResponse |
executeRestful(String url,
String method,
String json) |
static void |
main(String[] args) |
public static void main(String[] args)
public static cn.hutool.http.HttpResponse executeRestful(String url, String method, Map<String,String> headers)
public static cn.hutool.http.HttpResponse executeRestful(String url, String method, String json)
public static cn.hutool.http.HttpResponse executeRestful(String url, String method, Map<String,String> headers, String json)
Copyright © 2023. All rights reserved.