-
public final class Resource<ResourceT extends Object> extends GlideFlowInstant<ResourceT>
Wraps a Status and a resource loaded from the primary request, a RequestBuilder.thumbnail request, or a RequestBuilder.error request.
Status.FAILED is a perfectly valid status with this class. If the primary request fails, but at least one thumbnail succeeds, the flow will emit
Resource(FAILED, resource)to indicate both that we have some value but also that the primary request has failed.
-
-
Method Summary
Modifier and Type Method Description StatusgetStatus()final ResourceTgetResource()
-