Merge "Expose the network binding APIs in AOSP." am: 722a5f2c5e am: ba8da4e99b
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2428875 Change-Id: Ie654ed84c7fdd736fe1ab0e0083641b02c887054 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
b0422129c3
1 changed files with 2 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ package android.net.http {
|
|||
}
|
||||
|
||||
public abstract class HttpEngine {
|
||||
method public void bindToNetwork(@Nullable android.net.Network);
|
||||
method public abstract java.net.URLStreamHandlerFactory createURLStreamHandlerFactory();
|
||||
method public static String getVersionString();
|
||||
method public abstract android.net.http.UrlRequest.Builder newUrlRequestBuilder(String, android.net.http.UrlRequest.Callback, java.util.concurrent.Executor);
|
||||
|
|
@ -130,6 +131,7 @@ package android.net.http {
|
|||
public abstract static class UrlRequest.Builder {
|
||||
method public abstract android.net.http.UrlRequest.Builder addHeader(String, String);
|
||||
method public abstract android.net.http.UrlRequest.Builder allowDirectExecutor();
|
||||
method public abstract android.net.http.UrlRequest.Builder bindToNetwork(@Nullable android.net.Network);
|
||||
method public abstract android.net.http.UrlRequest build();
|
||||
method public abstract android.net.http.UrlRequest.Builder disableCache();
|
||||
method public abstract android.net.http.UrlRequest.Builder setHttpMethod(String);
|
||||
|
|
|
|||
Loading…
Reference in a new issue