| Package | Description |
|---|---|
| org.aoju.bus.http |
| Modifier and Type | Method and Description |
|---|---|
void |
Call.enqueue(Callback responseCallback)
Schedules the request to be executed at some point in the future.
|
static void |
HttpUtils.get(String url,
Callback callback)
async processing of GET requests, custom request types
|
static void |
HttpUtils.post(String url,
Map<String,Object> map,
Callback callback)
async processing of POST requests, custom request types
|
static void |
HttpUtils.post(String url,
Map<String,Object> map,
Map<String,Object> hearder,
MediaType mediaType,
Callback callback)
handle POST requests asynchronously and customize the request type
|
Copyright © 2019. All rights reserved.