Package | Description |
---|---|
cn.orionsec.kit.http.ok | |
cn.orionsec.kit.http.ok.file |
Modifier and Type | Method and Description |
---|---|
OkResponse |
OkRequest.await() |
static OkResponse |
OkRequests.get(String url)
get
|
static OkResponse |
OkRequests.get(String url,
Map<String,?> params)
get
|
static OkResponse |
OkRequests.post(String url)
post
|
static OkResponse |
OkRequests.post(String url,
byte[] body)
post application/json
|
static OkResponse |
OkRequests.post(String url,
Map<String,String> formParts)
post x-www-form-urlencoded
|
static OkResponse |
OkRequests.post(String url,
String body)
post application/json
|
static OkResponse |
OkRequests.post(String url,
String contentType,
byte[] body)
post
|
static OkResponse |
OkRequests.post(String url,
String contentType,
String body)
post
|
Modifier and Type | Method and Description |
---|---|
Consumer<OkResponse> |
OkRequest.getAsyncCallback() |
Modifier and Type | Method and Description |
---|---|
void |
OkRequest.async(Consumer<OkResponse> callback) |
Modifier and Type | Method and Description |
---|---|
OkResponse |
OkUpload.await() |
OkResponse |
OkDownload.getResponse() |
Modifier and Type | Method and Description |
---|---|
void |
OkAsyncUpload.async(Consumer<OkResponse> callback) |
void |
OkAsyncDownload.async(Consumer<OkResponse> callback) |
Copyright © 2024. All rights reserved.