public interface QiyClient extends io.vertx.up.eon.TpClient<QiyClient>
| Modifier and Type | Method and Description |
|---|---|
QiyClient |
authorize(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)
/iqiyi/authorize
|
static QiyClient |
createShared(io.vertx.core.Vertx vertx) |
static QiyClient |
createShared(io.vertx.core.Vertx vertx,
io.vertx.core.json.JsonObject config) |
QiyClient |
init(io.vertx.core.json.JsonObject params) |
QiyClient |
refreshToken(String refreshToken,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)
/oauth2/token
|
QiyClient |
requestFile(String fileType,
String size,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)
/openupload
|
QiyClient |
upload(String address,
String size,
String range,
String fileId,
char[] content) |
static QiyClient createShared(io.vertx.core.Vertx vertx)
static QiyClient createShared(io.vertx.core.Vertx vertx, io.vertx.core.json.JsonObject config)
QiyClient init(io.vertx.core.json.JsonObject params)
init in interface io.vertx.up.eon.TpClient<QiyClient>QiyClient authorize(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)
handler - async handlerQiyClient refreshToken(String refreshToken, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)
refreshToken - refresh tokenhandler - async handlerQiyClient requestFile(String fileType, String size, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)
fileType - request up.god.file typesize - request up.god.file sizehandler - async handlerCopyright © 2019. All rights reserved.