public class ExecutionContext<Request extends OSSRequest,Result extends OSSResult>
extends java.lang.Object
构造器和说明 |
---|
ExecutionContext(okhttp3.OkHttpClient client,
Request request) |
ExecutionContext(okhttp3.OkHttpClient client,
Request request,
Context applicationContext) |
限定符和类型 | 方法和说明 |
---|---|
Context |
getApplicationContext() |
CancellationHandler |
getCancellationHandler() |
okhttp3.OkHttpClient |
getClient() |
OSSCompletedCallback<Request,Result> |
getCompletedCallback() |
OSSProgressCallback |
getProgressCallback() |
Request |
getRequest() |
OSSRetryCallback |
getRetryCallback() |
void |
setClient(okhttp3.OkHttpClient client) |
void |
setCompletedCallback(OSSCompletedCallback<Request,Result> completedCallback) |
void |
setProgressCallback(OSSProgressCallback progressCallback) |
void |
setRequest(Request request) |
void |
setRetryCallback(OSSRetryCallback retryCallback) |
public ExecutionContext(okhttp3.OkHttpClient client, Request request)
public ExecutionContext(okhttp3.OkHttpClient client, Request request, Context applicationContext)
public Context getApplicationContext()
public Request getRequest()
public void setRequest(Request request)
public okhttp3.OkHttpClient getClient()
public void setClient(okhttp3.OkHttpClient client)
public CancellationHandler getCancellationHandler()
public OSSCompletedCallback<Request,Result> getCompletedCallback()
public void setCompletedCallback(OSSCompletedCallback<Request,Result> completedCallback)
public OSSProgressCallback getProgressCallback()
public void setProgressCallback(OSSProgressCallback progressCallback)
public OSSRetryCallback getRetryCallback()
public void setRetryCallback(OSSRetryCallback retryCallback)