alexandroid/decompiled/jadx/sources/okhttp3/Request.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

484 lines
22 KiB
Java

package okhttp3;
import androidx.exifinterface.media.ExifInterface;
import com.amazon.alexa.assistant.transport.MissingTokenPull;
import com.amazon.alexa.ra.core.data.fragments.Content;
import com.dee.app.metrics.MetricsConstants;
import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder;
import defpackage.a$$ExternalSyntheticOutline0;
import java.net.URL;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import kotlin.Deprecated;
import kotlin.DeprecationLevel;
import kotlin.Metadata;
import kotlin.Pair;
import kotlin.ReplaceWith;
import kotlin.collections.CollectionsKt;
import kotlin.collections.MapsKt;
import kotlin.jvm.JvmName;
import kotlin.jvm.JvmOverloads;
import kotlin.jvm.internal.SourceDebugExtension;
import kotlin.text.StringsKt__StringsJVMKt;
import kotlinx.serialization.json.internal.AbstractJsonLexerKt;
import okhttp3.Headers;
import okhttp3.HttpUrl;
import okhttp3.internal.Util;
import okhttp3.internal.http.HttpMethod;
import okio.Buffer$$ExternalSyntheticBUOutline0;
import okio.Path$$ExternalSyntheticBUOutline0;
import org.apache.http.client.methods.HttpHead;
import org.apache.http.client.methods.HttpPatch;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import rx.Single$$ExternalSyntheticBUOutline0;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@Metadata(d1 = {"\u0000N\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010$\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u000b\n\u0002\u0010 \n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\b\u0018\u00002\u00020\u0001:\u0001*BA\b\u0000\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\b\u0010\b\u001a\u0004\u0018\u00010\t\u0012\u0016\u0010\n\u001a\u0012\u0012\b\u0012\u0006\u0012\u0002\b\u00030\f\u0012\u0004\u0012\u00020\u00010\u000b¢\u0006\u0002\u0010\rJ\u000f\u0010\b\u001a\u0004\u0018\u00010\tH\u0007¢\u0006\u0002\b\u001bJ\r\u0010\u000f\u001a\u00020\u0010H\u0007¢\u0006\u0002\b\u001cJ\u0010\u0010\u001d\u001a\u0004\u0018\u00010\u00052\u0006\u0010\u001e\u001a\u00020\u0005J\r\u0010\u0006\u001a\u00020\u0007H\u0007¢\u0006\u0002\b\u001fJ\u0014\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\u00050 2\u0006\u0010\u001e\u001a\u00020\u0005J\r\u0010\u0004\u001a\u00020\u0005H\u0007¢\u0006\u0002\b!J\u0006\u0010\"\u001a\u00020#J\b\u0010$\u001a\u0004\u0018\u00010\u0001J#\u0010$\u001a\u0004\u0018\u0001H%\"\u0004\b\u0000\u0010%2\u000e\u0010&\u001a\n\u0012\u0006\b\u0001\u0012\u0002H%0\f¢\u0006\u0002\u0010'J\b\u0010(\u001a\u00020\u0005H\u0016J\r\u0010\u0002\u001a\u00020\u0003H\u0007¢\u0006\u0002\b)R\u0015\u0010\b\u001a\u0004\u0018\u00010\t8\u0007¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u000eR\u0011\u0010\u000f\u001a\u00020\u00108G¢\u0006\u0006\u001a\u0004\b\u000f\u0010\u0011R\u0013\u0010\u0006\u001a\u00020\u00078\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0012R\u0011\u0010\u0013\u001a\u00020\u00148F¢\u0006\u0006\u001a\u0004\b\u0013\u0010\u0015R\u0010\u0010\u0016\u001a\u0004\u0018\u00010\u0010X\u0082\u000e¢\u0006\u0002\n\u0000R\u0013\u0010\u0004\u001a\u00020\u00058\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0004\u0010\u0017R$\u0010\n\u001a\u0012\u0012\b\u0012\u0006\u0012\u0002\b\u00030\f\u0012\u0004\u0012\u00020\u00010\u000bX\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0019R\u0013\u0010\u0002\u001a\u00020\u00038\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0002\u0010\u001a¨\u0006+"}, d2 = {"Lokhttp3/Request;", "", "url", "Lokhttp3/HttpUrl;", MetricsConstants.NativeFetch.METHOD, "", "headers", "Lokhttp3/Headers;", "body", "Lokhttp3/RequestBody;", "tags", "", "Ljava/lang/Class;", "(Lokhttp3/HttpUrl;Ljava/lang/String;Lokhttp3/Headers;Lokhttp3/RequestBody;Ljava/util/Map;)V", "()Lokhttp3/RequestBody;", "cacheControl", "Lokhttp3/CacheControl;", "()Lokhttp3/CacheControl;", "()Lokhttp3/Headers;", "isHttps", "", "()Z", "lazyCacheControl", "()Ljava/lang/String;", "getTags$okhttp", "()Ljava/util/Map;", "()Lokhttp3/HttpUrl;", "-deprecated_body", "-deprecated_cacheControl", Content.HEADER, "name", "-deprecated_headers", "", "-deprecated_method", "newBuilder", "Lokhttp3/Request$Builder;", "tag", ExifInterface.GPS_DIRECTION_TRUE, "type", "(Ljava/lang/Class;)Ljava/lang/Object;", "toString", "-deprecated_url", "Builder", "okhttp"}, k = 1, mv = {1, 8, 0}, xi = 48)
@SourceDebugExtension({"SMAP\nRequest.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Request.kt\nokhttp3/Request\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,298:1\n1864#2,3:299\n*S KotlinDebug\n*F\n+ 1 Request.kt\nokhttp3/Request\n*L\n119#1:299,3\n*E\n"})
/* loaded from: classes10.dex */
public final class Request {
@Nullable
private final RequestBody body;
@NotNull
private final Headers headers;
@Nullable
private CacheControl lazyCacheControl;
@NotNull
private final String method;
@NotNull
private final Map<Class<?>, Object> tags;
@NotNull
private final HttpUrl url;
public Request(@NotNull HttpUrl httpUrl, @NotNull String str, @NotNull Headers headers, @Nullable RequestBody requestBody, @NotNull Map<Class<?>, ? extends Object> map) {
httpUrl.getClass();
str.getClass();
headers.getClass();
map.getClass();
this.url = httpUrl;
this.method = str;
this.headers = headers;
this.body = requestBody;
this.tags = map;
}
@Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = "body", imports = {}))
@JvmName(name = "-deprecated_body")
@Nullable
/* renamed from: -deprecated_body, reason: not valid java name and from getter */
public final RequestBody getBody() {
return this.body;
}
@Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = "cacheControl", imports = {}))
@JvmName(name = "-deprecated_cacheControl")
@NotNull
/* renamed from: -deprecated_cacheControl, reason: not valid java name */
public final CacheControl m27141deprecated_cacheControl() {
return cacheControl();
}
@Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = "headers", imports = {}))
@JvmName(name = "-deprecated_headers")
@NotNull
/* renamed from: -deprecated_headers, reason: not valid java name and from getter */
public final Headers getHeaders() {
return this.headers;
}
@Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = MetricsConstants.NativeFetch.METHOD, imports = {}))
@JvmName(name = "-deprecated_method")
@NotNull
/* renamed from: -deprecated_method, reason: not valid java name and from getter */
public final String getMethod() {
return this.method;
}
@Deprecated(level = DeprecationLevel.ERROR, message = "moved to val", replaceWith = @ReplaceWith(expression = "url", imports = {}))
@JvmName(name = "-deprecated_url")
@NotNull
/* renamed from: -deprecated_url, reason: not valid java name and from getter */
public final HttpUrl getUrl() {
return this.url;
}
@JvmName(name = "body")
@Nullable
public final RequestBody body() {
return this.body;
}
@JvmName(name = "cacheControl")
@NotNull
public final CacheControl cacheControl() {
CacheControl cacheControl = this.lazyCacheControl;
if (cacheControl != null) {
return cacheControl;
}
CacheControl parse = CacheControl.INSTANCE.parse(this.headers);
this.lazyCacheControl = parse;
return parse;
}
@NotNull
public final Map<Class<?>, Object> getTags$okhttp() {
return this.tags;
}
@Nullable
public final String header(@NotNull String name) {
name.getClass();
return this.headers.get(name);
}
@NotNull
public final List<String> headers(@NotNull String name) {
name.getClass();
return this.headers.values(name);
}
public final boolean isHttps() {
return this.url.getIsHttps();
}
@JvmName(name = MetricsConstants.NativeFetch.METHOD)
@NotNull
public final String method() {
return this.method;
}
@NotNull
public final Builder newBuilder() {
return new Builder(this);
}
@Nullable
public final <T> T tag(@NotNull Class<? extends T> type) {
type.getClass();
return type.cast(this.tags.get(type));
}
@NotNull
public String toString() {
StringBuilder sb = new StringBuilder("Request{method=");
sb.append(this.method);
sb.append(", url=");
sb.append(this.url);
if (this.headers.size() != 0) {
sb.append(", headers=[");
int i = 0;
for (Pair<? extends String, ? extends String> pair : this.headers) {
int i2 = i + 1;
if (i < 0) {
CollectionsKt.throwIndexOverflow();
}
Pair<? extends String, ? extends String> pair2 = pair;
String component1 = pair2.component1();
String component2 = pair2.component2();
if (i > 0) {
sb.append(", ");
}
sb.append(component1);
sb.append(AbstractJsonLexerKt.COLON);
sb.append(component2);
i = i2;
}
sb.append(AbstractJsonLexerKt.END_LIST);
}
if (!this.tags.isEmpty()) {
sb.append(", tags=");
sb.append(this.tags);
}
sb.append(AbstractJsonLexerKt.END_OBJ);
return sb.toString();
}
@JvmName(name = "url")
@NotNull
public final HttpUrl url() {
return this.url;
}
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@Metadata(d1 = {"\u0000V\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0010%\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0000\b\u0016\u0018\u00002\u00020\u0001B\u0007\b\u0016¢\u0006\u0002\u0010\u0002B\u000f\b\u0010\u0012\u0006\u0010\u0003\u001a\u00020\u0004¢\u0006\u0002\u0010\u0005J\u0018\u0010%\u001a\u00020\u00002\u0006\u0010&\u001a\u00020\u00132\u0006\u0010'\u001a\u00020\u0013H\u0016J\b\u0010(\u001a\u00020\u0004H\u0016J\u0010\u0010)\u001a\u00020\u00002\u0006\u0010)\u001a\u00020*H\u0016J\u0014\u0010+\u001a\u00020\u00002\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0007H\u0017J\b\u0010,\u001a\u00020\u0000H\u0016J\b\u0010-\u001a\u00020\u0000H\u0016J\u0018\u0010.\u001a\u00020\u00002\u0006\u0010&\u001a\u00020\u00132\u0006\u0010'\u001a\u00020\u0013H\u0016J\u0010\u0010\f\u001a\u00020\u00002\u0006\u0010\f\u001a\u00020/H\u0016J\u001a\u0010\u0012\u001a\u00020\u00002\u0006\u0010\u0012\u001a\u00020\u00132\b\u0010\u0006\u001a\u0004\u0018\u00010\u0007H\u0016J\u0010\u00100\u001a\u00020\u00002\u0006\u0010\u0006\u001a\u00020\u0007H\u0016J\u0010\u00101\u001a\u00020\u00002\u0006\u0010\u0006\u001a\u00020\u0007H\u0016J\u0010\u00102\u001a\u00020\u00002\u0006\u0010\u0006\u001a\u00020\u0007H\u0016J\u0010\u00103\u001a\u00020\u00002\u0006\u0010&\u001a\u00020\u0013H\u0016J-\u00104\u001a\u00020\u0000\"\u0004\b\u0000\u001052\u000e\u00106\u001a\n\u0012\u0006\b\u0000\u0012\u0002H50\u001a2\b\u00104\u001a\u0004\u0018\u0001H5H\u0016¢\u0006\u0002\u00107J\u0012\u00104\u001a\u00020\u00002\b\u00104\u001a\u0004\u0018\u00010\u0001H\u0016J\u0010\u0010\u001f\u001a\u00020\u00002\u0006\u0010\u001f\u001a\u000208H\u0016J\u0010\u0010\u001f\u001a\u00020\u00002\u0006\u0010\u001f\u001a\u00020\u0013H\u0016J\u0010\u0010\u001f\u001a\u00020\u00002\u0006\u0010\u001f\u001a\u00020 H\u0016R\u001c\u0010\u0006\u001a\u0004\u0018\u00010\u0007X\u0080\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\b\u0010\t\"\u0004\b\n\u0010\u000bR\u001a\u0010\f\u001a\u00020\rX\u0080\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u000e\u0010\u000f\"\u0004\b\u0010\u0010\u0011R\u001a\u0010\u0012\u001a\u00020\u0013X\u0080\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0014\u0010\u0015\"\u0004\b\u0016\u0010\u0017R*\u0010\u0018\u001a\u0012\u0012\b\u0012\u0006\u0012\u0002\b\u00030\u001a\u0012\u0004\u0012\u00020\u00010\u0019X\u0080\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u001b\u0010\u001c\"\u0004\b\u001d\u0010\u001eR\u001c\u0010\u001f\u001a\u0004\u0018\u00010 X\u0080\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b!\u0010\"\"\u0004\b#\u0010$¨\u00069"}, d2 = {"Lokhttp3/Request$Builder;", "", "()V", MissingTokenPull.TRIGGER_REQUEST, "Lokhttp3/Request;", "(Lokhttp3/Request;)V", "body", "Lokhttp3/RequestBody;", "getBody$okhttp", "()Lokhttp3/RequestBody;", "setBody$okhttp", "(Lokhttp3/RequestBody;)V", "headers", "Lokhttp3/Headers$Builder;", "getHeaders$okhttp", "()Lokhttp3/Headers$Builder;", "setHeaders$okhttp", "(Lokhttp3/Headers$Builder;)V", MetricsConstants.NativeFetch.METHOD, "", "getMethod$okhttp", "()Ljava/lang/String;", "setMethod$okhttp", "(Ljava/lang/String;)V", "tags", "", "Ljava/lang/Class;", "getTags$okhttp", "()Ljava/util/Map;", "setTags$okhttp", "(Ljava/util/Map;)V", "url", "Lokhttp3/HttpUrl;", "getUrl$okhttp", "()Lokhttp3/HttpUrl;", "setUrl$okhttp", "(Lokhttp3/HttpUrl;)V", "addHeader", "name", "value", JsonPOJOBuilder.DEFAULT_BUILD_METHOD, "cacheControl", "Lokhttp3/CacheControl;", "delete", MetricsConstants.Method.CACHE_GET, "head", Content.HEADER, "Lokhttp3/Headers;", "patch", "post", MetricsConstants.Method.CACHE_PUT, "removeHeader", "tag", ExifInterface.GPS_DIRECTION_TRUE, "type", "(Ljava/lang/Class;Ljava/lang/Object;)Lokhttp3/Request$Builder;", "Ljava/net/URL;", "okhttp"}, k = 1, mv = {1, 8, 0}, xi = 48)
@SourceDebugExtension({"SMAP\nRequest.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Request.kt\nokhttp3/Request$Builder\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,298:1\n1#2:299\n*E\n"})
public static class Builder {
@Nullable
private RequestBody body;
@NotNull
private Headers.Builder headers;
@NotNull
private String method;
@NotNull
private Map<Class<?>, Object> tags;
@Nullable
private HttpUrl url;
public Builder(@NotNull Request request) {
request.getClass();
this.tags = new LinkedHashMap();
this.url = request.url();
this.method = request.method();
this.body = request.body();
this.tags = request.getTags$okhttp().isEmpty() ? new LinkedHashMap<>() : MapsKt.toMutableMap(request.getTags$okhttp());
this.headers = request.headers().newBuilder();
}
public static /* synthetic */ Builder delete$default(Builder builder, RequestBody requestBody, int i, Object obj) {
if (obj != null) {
Buffer$$ExternalSyntheticBUOutline0.m$1("Super calls with default arguments not supported in this target, function: delete");
return null;
}
if ((i & 1) != 0) {
requestBody = Util.EMPTY_REQUEST;
}
return builder.delete(requestBody);
}
@NotNull
public Builder addHeader(@NotNull String name, @NotNull String value) {
name.getClass();
value.getClass();
this.headers.add(name, value);
return this;
}
@NotNull
public Request build() {
HttpUrl httpUrl = this.url;
if (httpUrl != null) {
return new Request(httpUrl, this.method, this.headers.build(), this.body, Util.toImmutableMap(this.tags));
}
Single$$ExternalSyntheticBUOutline0.m$2("url == null");
return null;
}
@NotNull
public Builder cacheControl(@NotNull CacheControl cacheControl) {
cacheControl.getClass();
String cacheControl2 = cacheControl.toString();
return cacheControl2.length() == 0 ? removeHeader("Cache-Control") : header("Cache-Control", cacheControl2);
}
@JvmOverloads
@NotNull
public final Builder delete() {
return delete$default(this, null, 1, null);
}
@NotNull
public Builder get() {
return method("GET", null);
}
@Nullable
/* renamed from: getBody$okhttp, reason: from getter */
public final RequestBody getBody() {
return this.body;
}
@NotNull
/* renamed from: getHeaders$okhttp, reason: from getter */
public final Headers.Builder getHeaders() {
return this.headers;
}
@NotNull
/* renamed from: getMethod$okhttp, reason: from getter */
public final String getMethod() {
return this.method;
}
@NotNull
public final Map<Class<?>, Object> getTags$okhttp() {
return this.tags;
}
@Nullable
/* renamed from: getUrl$okhttp, reason: from getter */
public final HttpUrl getUrl() {
return this.url;
}
@NotNull
public Builder head() {
return method(HttpHead.METHOD_NAME, null);
}
@NotNull
public Builder header(@NotNull String name, @NotNull String value) {
name.getClass();
value.getClass();
this.headers.set(name, value);
return this;
}
@NotNull
public Builder headers(@NotNull Headers headers) {
headers.getClass();
this.headers = headers.newBuilder();
return this;
}
@NotNull
public Builder method(@NotNull String method, @Nullable RequestBody body) {
method.getClass();
if (method.length() <= 0) {
Single$$ExternalSyntheticBUOutline0.m$3("method.isEmpty() == true");
return null;
}
if (body == null) {
if (HttpMethod.requiresRequestBody(method)) {
Path$$ExternalSyntheticBUOutline0.m((Object) a$$ExternalSyntheticOutline0.m("method ", method, " must have a request body."));
return null;
}
} else if (!HttpMethod.permitsRequestBody(method)) {
Path$$ExternalSyntheticBUOutline0.m((Object) a$$ExternalSyntheticOutline0.m("method ", method, " must not have a request body."));
return null;
}
this.method = method;
this.body = body;
return this;
}
@NotNull
public Builder patch(@NotNull RequestBody body) {
body.getClass();
return method(HttpPatch.METHOD_NAME, body);
}
@NotNull
public Builder post(@NotNull RequestBody body) {
body.getClass();
return method("POST", body);
}
@NotNull
public Builder put(@NotNull RequestBody body) {
body.getClass();
return method("PUT", body);
}
@NotNull
public Builder removeHeader(@NotNull String name) {
name.getClass();
this.headers.removeAll(name);
return this;
}
public final void setBody$okhttp(@Nullable RequestBody requestBody) {
this.body = requestBody;
}
public final void setHeaders$okhttp(@NotNull Headers.Builder builder) {
builder.getClass();
this.headers = builder;
}
public final void setMethod$okhttp(@NotNull String str) {
str.getClass();
this.method = str;
}
public final void setTags$okhttp(@NotNull Map<Class<?>, Object> map) {
map.getClass();
this.tags = map;
}
public final void setUrl$okhttp(@Nullable HttpUrl httpUrl) {
this.url = httpUrl;
}
@NotNull
public <T> Builder tag(@NotNull Class<? super T> type, @Nullable T tag) {
type.getClass();
Map<Class<?>, Object> map = this.tags;
if (tag == null) {
map.remove(type);
return this;
}
if (map.isEmpty()) {
this.tags = new LinkedHashMap();
}
Map<Class<?>, Object> map2 = this.tags;
T cast = type.cast(tag);
cast.getClass();
map2.put(type, cast);
return this;
}
@NotNull
public Builder url(@NotNull String url) {
boolean startsWith;
boolean startsWith2;
url.getClass();
startsWith = StringsKt__StringsJVMKt.startsWith(url, "ws:", true);
if (startsWith) {
url = "http:".concat(url.substring(3));
} else {
startsWith2 = StringsKt__StringsJVMKt.startsWith(url, "wss:", true);
if (startsWith2) {
url = "https:".concat(url.substring(4));
}
}
return url(HttpUrl.INSTANCE.get(url));
}
@JvmOverloads
@NotNull
public Builder delete(@Nullable RequestBody body) {
return method("DELETE", body);
}
@NotNull
public Builder tag(@Nullable Object tag) {
return tag(Object.class, tag);
}
@NotNull
public Builder url(@NotNull HttpUrl url) {
url.getClass();
this.url = url;
return this;
}
@NotNull
public Builder url(@NotNull URL url) {
url.getClass();
HttpUrl.Companion companion = HttpUrl.INSTANCE;
String url2 = url.toString();
url2.getClass();
return url(companion.get(url2));
}
public Builder() {
this.tags = new LinkedHashMap();
this.method = "GET";
this.headers = new Headers.Builder();
}
}
@JvmName(name = "headers")
@NotNull
public final Headers headers() {
return this.headers;
}
@Nullable
public final Object tag() {
return tag(Object.class);
}
}