Package io.vertx.tp.plugin.qiy
Class QiyClientImpl
- java.lang.Object
-
- io.vertx.tp.plugin.qiy.QiyClientImpl
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QiyClientauthorize(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)/iqiyi/authorizeQiyClientinit(io.vertx.core.json.JsonObject config)QiyClientrefreshToken(String refreshToken, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)/oauth2/tokenQiyClientrequestFile(String fileType, String fileSize, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)/openuploadQiyClientupload(String address, String size, String range, String fileId, char[] content)
-
-
-
Method Detail
-
init
public QiyClient init(io.vertx.core.json.JsonObject config)
-
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
-
-