| Modifier and Type | Method and Description |
|---|---|
SimpleHttpResponse |
HttpSync.get(String url)
GET 请求
|
SimpleHttpResponse |
HttpSync.get(String url,
Map<String,String> params)
GET 请求
|
SimpleHttpResponse |
HttpSync.post(String url)
POST 请求
|
SimpleHttpResponse |
HttpSync.post(String url,
Map<String,String> params)
POST 请求
|
SimpleHttpResponse |
HttpSync.post(String url,
Map<String,String> formData,
HttpHeader header) |
SimpleHttpResponse |
HttpSync.post(String url,
String data)
POST 请求
|
SimpleHttpResponse |
HttpSync.post(String url,
String dataJson,
HttpHeader header) |
| Modifier and Type | Method and Description |
|---|---|
SimpleHttpResponse |
SyncHttp.get(String url)
get 请求
|
SimpleHttpResponse |
SyncHttp.get(String url,
Map<String,String> params)
get 请求
|
SimpleHttpResponse |
SyncHttp.post(String url)
post请求
|
SimpleHttpResponse |
SyncHttp.post(String url,
Map<String,String> formdata)
post请求
|
SimpleHttpResponse |
SyncHttp.post(String url,
Map<String,String> formData,
HttpHeader header)
post 请求
|
SimpleHttpResponse |
SyncHttp.post(String url,
String dataJson)
post请求
|
SimpleHttpResponse |
SyncHttp.post(String url,
String dataJson,
HttpHeader header)
post请求
|
| Modifier and Type | Method and Description |
|---|---|
SimpleHttpResponse |
SimpleHttpResponse.body(byte[] body) |
| Modifier and Type | Method and Description |
|---|---|
void |
HttpCallback.response(SimpleHttpResponse response)
响应成功 200 >= http code < 300
|
| Modifier and Type | Method and Description |
|---|---|
private SimpleHttpResponse |
HttpClientSyncImpl.exec(org.apache.http.client.methods.HttpUriRequest request) |
SimpleHttpResponse |
HttpClientSyncImpl.get(String url) |
SimpleHttpResponse |
HttpClientSyncImpl.get(String url,
Map<String,String> params) |
SimpleHttpResponse |
HttpClientSyncImpl.post(String url) |
SimpleHttpResponse |
HttpClientSyncImpl.post(String url,
Map<String,String> formdata) |
SimpleHttpResponse |
HttpClientSyncImpl.post(String url,
Map<String,String> formData,
HttpHeader header) |
SimpleHttpResponse |
HttpClientSyncImpl.post(String url,
String dataJson) |
SimpleHttpResponse |
HttpClientSyncImpl.post(String url,
String dataJson,
HttpHeader header) |
| Modifier and Type | Method and Description |
|---|---|
private SimpleHttpResponse |
HutoolSyncImpl.exec(cn.hutool.http.HttpRequest request) |
SimpleHttpResponse |
HutoolSyncImpl.get(String url) |
SimpleHttpResponse |
HutoolSyncImpl.get(String url,
Map<String,String> params) |
SimpleHttpResponse |
HutoolSyncImpl.post(String url) |
SimpleHttpResponse |
HutoolSyncImpl.post(String url,
Map<String,String> formdata) |
SimpleHttpResponse |
HutoolSyncImpl.post(String url,
Map<String,String> formData,
HttpHeader header) |
SimpleHttpResponse |
HutoolSyncImpl.post(String url,
String dataJson) |
SimpleHttpResponse |
HutoolSyncImpl.post(String url,
String dataJson,
HttpHeader header) |
| Modifier and Type | Method and Description |
|---|---|
private SimpleHttpResponse |
OkHttp3SyncImpl.exec(okhttp3.Request.Builder requestBuilder) |
SimpleHttpResponse |
OkHttp3SyncImpl.get(String url) |
SimpleHttpResponse |
OkHttp3SyncImpl.get(String url,
Map<String,String> params) |
SimpleHttpResponse |
OkHttp3SyncImpl.post(String url) |
SimpleHttpResponse |
OkHttp3SyncImpl.post(String url,
Map<String,String> formdata) |
SimpleHttpResponse |
OkHttp3SyncImpl.post(String url,
Map<String,String> formData,
HttpHeader header) |
SimpleHttpResponse |
OkHttp3SyncImpl.post(String url,
String data) |
SimpleHttpResponse |
OkHttp3SyncImpl.post(String url,
String dataJson,
HttpHeader header) |
Copyright © 2022. All rights reserved.