mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00: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
1 changed files with 2 additions and 1 deletions
|
|
@ -518,7 +518,8 @@ public final class DataSpec {
|
||||||
* set to {@link #HTTP_METHOD_POST}. If {@code postBody} is null then {@link #httpMethod} is set
|
* set to {@link #HTTP_METHOD_POST}. If {@code postBody} is null then {@link #httpMethod} is set
|
||||||
* to {@link #HTTP_METHOD_GET}.
|
* 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 uri {@link #uri}.
|
||||||
* @param postBody {@link #httpBody} The body of the HTTP request, which is also used to infer the
|
* @param postBody {@link #httpBody} The body of the HTTP request, which is also used to infer the
|
||||||
* {@link #httpMethod}.
|
* {@link #httpMethod}.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue