Google cam kết thúc đẩy công bằng chủng tộc cho Cộng đồng người da đen. Xem cách thực hiện.

HttpRemoteFileResolver

public class HttpRemoteFileResolver
extends Object implements IRemoteFileResolver

java.lang.Object
com.android.tradefed.config.remote.HttpRemoteFileResolver


Triển khai IRemoteFileResolver cho phép tải xuống tệp từ xa qua http

Bản tóm tắt

Lĩnh vực

public static final String PROTOCOL_HTTP

nhà thầu công cộng

HttpRemoteFileResolver ()

Phương thức công khai

String getSupportedProtocol ()

Trả về giao thức liên quan được hỗ trợ để tải xuống.

IRemoteFileResolver.ResolvedFile resolveRemoteFile ( IRemoteFileResolver.RemoteFileResolverArgs args)

Giải quyết tệp từ xa trong giao diện tương lai

phương pháp được bảo vệ

IHttpHelper getDownloader ()

Lĩnh vực

PROTOCOL_HTTP

public static final String PROTOCOL_HTTP

nhà thầu công cộng

HttpRemoteFileResolver

public HttpRemoteFileResolver ()

Phương thức công khai

getSupportedProtocol

public String getSupportedProtocol ()

Trả về giao thức liên quan được hỗ trợ để tải xuống.

trả lại
String

giải quyếtRemoteFile

public IRemoteFileResolver.ResolvedFile resolveRemoteFile (IRemoteFileResolver.RemoteFileResolverArgs args)

Giải quyết tệp từ xa trong giao diện tương lai

Thông số
args IRemoteFileResolver.RemoteFileResolverArgs : RemoteFileResolverArgs mô tả điều khiển từ xa để tải xuống và cách thực hiện.

trả lại
IRemoteFileResolver.ResolvedFile Biểu diễn tệp cục bộ đã giải quyết.

ném
BuildRetrievalError

phương pháp được bảo vệ

getDownloader

protected IHttpHelper getDownloader ()

trả lại
IHttpHelper