Response<D extends OutboundDocument> class
JSON:API response
- Inheritance
-
- Object
- HttpMessage
- HttpResponse
- Response
- Available extensions
Properties
- body → String
-
Message body
no setteroverride
- document → D?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ LinkedHashMap<
String, String> -
Message headers. Case-insensitive.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
Response status code
finalinherited
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
Static Methods
-
badRequest(
[OutboundErrorDocument? document]) → Response< OutboundDocument> -
created(
OutboundDocument document, String location) → Response< OutboundDocument> -
methodNotAllowed(
[OutboundErrorDocument? document]) → Response< OutboundDocument> -
noContent(
) → Response< OutboundDocument> -
notFound(
[OutboundErrorDocument? document]) → Response< OutboundDocument> -
ok(
OutboundDocument document) → Response< OutboundDocument>