WebIdStatus enum

Outcome of validating that a URL points to a real Solid WebID profile document, as opposed to merely returning a 200 response. Plain existence is insufficient because many ordinary websites happily return 200 HTML for any unmatched path (SPA catch-alls, soft 404s, etc.), which would otherwise be mistaken for a valid WebID.

Inheritance
Available extensions

Values

valid → const WebIdStatus

The URL responds with 200/204 and an RDF content type, so it is very likely a genuine WebID profile document.

notProfile → const WebIdStatus

The URL responds with 200/204 but the body is not RDF (typically a text/html page from a regular website). The URL is reachable but is not a WebID profile.

notExist → const WebIdStatus

The URL returned 404.

unknown → const WebIdStatus

Some other status code (e.g. 403, 5xx) — could not determine.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<WebIdStatus>
A constant List of the values in this enum, in order of their declaration.