mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Update deprecation JavaDoc for ExoPlayer DataSpec
constructor to note that the builder does NOT infer the http method from the existence of the post body. PiperOrigin-RevId: 316765677
This commit is contained in:
parent
c808db9935
commit
f85098a88f
@ -518,7 +518,8 @@ public final class DataSpec {
|
||||
* set to {@link #HTTP_METHOD_POST}. If {@code postBody} is null then {@link #httpMethod} is set
|
||||
* to {@link #HTTP_METHOD_GET}.
|
||||
*
|
||||
* @deprecated Use {@link Builder}.
|
||||
* @deprecated Use {@link Builder}. Note that the httpMethod must be set explicitly for the
|
||||
* Builder.
|
||||
* @param uri {@link #uri}.
|
||||
* @param postBody {@link #httpBody} The body of the HTTP request, which is also used to infer the
|
||||
* {@link #httpMethod}.
|
||||
|
Loading…
x
Reference in New Issue
Block a user