Class ResourceResponse
java.lang.Object
com.thecsdev.common.resource.ResourceMessage
com.thecsdev.common.resource.ResourceResponse
Represents the response received after fetching a resource from a specified
URI.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder class for constructing instances ofResourceResponse. -
Method Summary
Methods inherited from class ResourceMessage
getData, getFirst, getFirst, getFirstOrThrow, getMetadata, getUri, has
-
Method Details
-
hashCode
public final int hashCode()- Overrides:
hashCodein classResourceMessage
-
equals
- Overrides:
equalsin classResourceMessage
-
getStatus
public final int getStatus()Returns the status code representing the outcome of the resource fetch operation. The interpretation of this status code may differ depending on the protocol specified in theURI.
-