public class DefaultLottieFetchResult extends java.lang.Object implements LottieFetchResult
| Constructor and Description |
|---|
DefaultLottieFetchResult(java.net.HttpURLConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
bodyByteStream() |
void |
close() |
java.lang.String |
contentType() |
java.lang.String |
error() |
boolean |
isSuccessful() |
public DefaultLottieFetchResult(java.net.HttpURLConnection connection)
public boolean isSuccessful()
isSuccessful in interface LottieFetchResultpublic java.io.InputStream bodyByteStream()
throws java.io.IOException
bodyByteStream in interface LottieFetchResultjava.io.IOExceptionpublic java.lang.String contentType()
contentType in interface LottieFetchResultpublic java.lang.String error()
error in interface LottieFetchResultpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseable