SolidResource

Marker interface for resources retrieved from a Solid server.

All Solid resources return SolidMetadata populated from the HTTP response headers (ACL URL, WAC-Allow, allowed methods, resource types, ETag, etc.).

Inheritors

Functions

Link copied to clipboard
abstract fun close()
Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun getContentType(): String

The media type of the resource representation (the value of its Content-Type).

Link copied to clipboard
abstract fun getEntity(): InputStream

Returns the resource representation as a byte stream.

Link copied to clipboard
abstract fun getHeaders(): SolidHeaders

The HTTP headers associated with this resource (empty when constructed locally).

Link copied to clipboard
abstract fun getIdentifier(): String

The URI that identifies this resource on the pod.

Link copied to clipboard
abstract fun getMetadata(): SolidMetadata
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)