Commit f85098a8 by olly Committed by Andrew Lewis

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
parent c808db99
...@@ -518,7 +518,8 @@ public final class DataSpec { ...@@ -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}.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment