- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
38 lines
975 B
Java
38 lines
975 B
Java
package okhttp3.internal.http;
|
|
|
|
import okhttp3.MediaType;
|
|
import okhttp3.ResponseBody;
|
|
import okio.BufferedSource;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class RealResponseBody extends ResponseBody {
|
|
public final long contentLength;
|
|
public final String contentTypeString;
|
|
public final BufferedSource source;
|
|
|
|
@Override // okhttp3.ResponseBody
|
|
public long contentLength() {
|
|
return this.contentLength;
|
|
}
|
|
|
|
@Override // okhttp3.ResponseBody
|
|
public BufferedSource source() {
|
|
return this.source;
|
|
}
|
|
|
|
public RealResponseBody(String str, long j, BufferedSource bufferedSource) {
|
|
this.contentTypeString = str;
|
|
this.contentLength = j;
|
|
this.source = bufferedSource;
|
|
}
|
|
|
|
@Override // okhttp3.ResponseBody
|
|
public MediaType contentType() {
|
|
String str = this.contentTypeString;
|
|
if (str != null) {
|
|
return MediaType.parse(str);
|
|
}
|
|
return null;
|
|
}
|
|
}
|