what-the-bank/sources/com/airbnb/lottie/network/DefaultLottieNetworkFetcher...

17 lines
620 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.airbnb.lottie.network;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
/* loaded from: classes.dex */
public class DefaultLottieNetworkFetcher implements LottieNetworkFetcher {
@Override // com.airbnb.lottie.network.LottieNetworkFetcher
public LottieFetchResult fetchSync(String str) throws IOException {
HttpURLConnection httpURLConnection = (HttpURLConnection) new URL(str).openConnection();
httpURLConnection.setRequestMethod("GET");
httpURLConnection.connect();
return new DefaultLottieFetchResult(httpURLConnection);
}
}