public class RequestHandler extends Object
| 构造器和说明 |
|---|
RequestHandler(Map context,
RequestInputModel paramBean,
Class outputClass) |
RequestHandler(Map context,
RequestInputModel paramBean,
ResponseCallBack asyncCallback) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
check() |
QSBuilder |
getBuilder() |
CancellationHandler |
getCancellationHandler() |
String |
getExpiresRequestUrl() |
BodyProgressListener |
getProgressListener() |
QSRequestBody |
getQsRequestBody() |
String |
getStringToSignature() |
OutputModel |
send() |
void |
sendAsync() |
void |
setCancellationHandler(CancellationHandler cancellationHandler) |
void |
setProgressListener(BodyProgressListener progressListener) |
void |
setQsRequestBody(QSRequestBody qsRequestBody) |
void |
setSignature(String accessKey,
String signature) |
public RequestHandler(Map context, RequestInputModel paramBean, Class outputClass) throws QSException
QSExceptionpublic RequestHandler(Map context, RequestInputModel paramBean, ResponseCallBack asyncCallback) throws QSException
QSExceptionpublic void sendAsync()
throws QSException
QSExceptionpublic OutputModel send() throws QSException
QSExceptionpublic String getStringToSignature() throws QSException
QSExceptionpublic void setSignature(String accessKey, String signature) throws QSException
QSExceptionpublic String getExpiresRequestUrl() throws QSException
QSExceptionpublic String check()
public QSBuilder getBuilder()
public BodyProgressListener getProgressListener()
public void setProgressListener(BodyProgressListener progressListener)
progressListener - the progressListener to setpublic QSRequestBody getQsRequestBody()
public void setQsRequestBody(QSRequestBody qsRequestBody)
qsRequestBody - the qsRequestBody to setpublic CancellationHandler getCancellationHandler()
public void setCancellationHandler(CancellationHandler cancellationHandler)
Copyright © 2018. All rights reserved.