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
|
* 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…
x
Reference in New Issue
Block a user