S3DownloadInterceptor
class S3DownloadInterceptor
Description: S3 download interceptor
method isRangeSupported
private boolean isRangeSupported(Response response)
Description: Checking range supported or not
Input parameters: response: response of ranging
Output parameters: true or false
Related parameters: None。
method getContentLength
private long getContentLength(Response response)
Description: Getting content length
Input parameters: response: response data
Output parameters: Length in Long value of response
Related parameters: None。
method cancel
public void cancel()
Description: Cancel response
Input parameters: None。
Output parameters: None。
Related parameters: None。