Package-level declarations
Types
Functions
Returns the URI of the WAC / ACP access-control resource advertised by Link: <...>; rel="acl", or null if absent.
Returns the set of HTTP methods listed in the Allow response header, or an empty set if the header is absent. Example: Allow: GET, HEAD, OPTIONS, PUT, PATCH, DELETE
Extension functions for parsing Solid-specific HTTP headers from OkHttp SolidHeaders. All functions return null / empty when the header is absent.
Returns the URI of the description resource advertised by Link: <...>; rel="describedby", or null if absent.
Returns the bare ETag value from the ETag response header, with surrounding quotes stripped, suitable for use as an If-Match validator.
Returns the URI of the LDN inbox advertised by Link: <...>; rel="http://www.w3.org/ns/ldp#inbox", or null if absent. Solid Protocol §4.1.1 allows this on storage roots and on WebID URLs; agents may also expose it via an ldp:inbox triple in their profile.
Returns the Last-Modified header value, or null if absent.
Returns all rel values listed in Link headers as a flat list of strings.
Returns the set of type URIs advertised via Link: <uri>; rel="type" headers. Used to identify resource types such as ldp:BasicContainer or pim:Storage.
Returns the Location header value as a URI, or null if absent. This is set on 201 Created responses.
Returns the OIDC issuer URI advertised by Link: <...>; rel="http://www.w3.org/ns/solid/terms#oidcIssuer", or null if absent.
Returns the URI of the storage owner advertised by Link: <...>; rel="http://www.w3.org/ns/solid/terms#owner", or null if absent.
Returns the URI of the storage description resource advertised by Link: <...>; rel="http://www.w3.org/ns/solid/terms#storageDescription", or null if absent.
Returns the parsed WacAllow from the WAC-Allow response header, or null if the header is absent or malformed.
Returns true when the Link header contains rel="type" <http://www.w3.org/ns/pim/space#Storage>, indicating this resource is a Solid pod storage root.
The current instant as an ISO-8601 UTC string truncated to seconds — the form every dcterms:created / dcterms:modified and as:published literal this library writes takes, so timestamps compare as strings and round-trip through RDF unchanged.
Reads this InputStream to a UTF-8 string and closes it.