Package io.vertx.tp.plugin.qiy
Class QiyClientImpl
java.lang.Object
io.vertx.tp.plugin.qiy.QiyClientImpl
-
Method Summary
Modifier and TypeMethodDescriptionauthorize(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler) /iqiyi/authorizeinit(io.vertx.core.json.JsonObject config) refreshToken(String refreshToken, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler) /oauth2/tokenrequestFile(String fileType, String fileSize, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler) /openupload
-
Method Details
-
init
-
authorize
public QiyClient authorize(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler) Description copied from interface:QiyClient/iqiyi/authorize -
refreshToken
public QiyClient refreshToken(String refreshToken, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler) Description copied from interface:QiyClient/oauth2/token- Specified by:
refreshTokenin interfaceQiyClient- Parameters:
refreshToken- refresh tokenhandler- async handler- Returns:
- self reference
-
requestFile
public QiyClient requestFile(String fileType, String fileSize, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler) Description copied from interface:QiyClient/openupload- Specified by:
requestFilein interfaceQiyClient- Parameters:
fileType- request up.god.file typefileSize- request up.god.file sizehandler- async handler- Returns:
- self reference
-
upload
-