Package 

Class Resource


  • 
    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
      Status getStatus()
      final ResourceT getResource()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait