ReadOnlyHeaders class abstract

Implementers

Constructors

ReadOnlyHeaders.new()
const

Properties

contentLength int?
no setter
contentRange → (int, int, int)?
The range of bytes to be returned by the server.
no setter
contentType → MediaType?
no setter
cookies ReadOnlyCookies
no setter
encoding Encoding
If ReadOnlyHeaders doesn't have a Content-Type header or it specifies an encoding that dart:convert doesn't support, this will be null.
no setter
filename String?
no setter
hashCode int
The hash code for this object.
no setterinherited
ifModifiedSince DateTime?
If this is non-null and the requested resource hasn't been modified since this date and time, the server should return a 304 Not Modified response.
no setter
isEmpty bool
no setter
isNotEmpty bool
no setter
keys Iterable<String>
no setter
length int
no setter
mimeType String?
This is parsed from the Content-Type header in ReadOnlyHeaders. It contains only the MIME type, without any Content-Type parameters.
no setter
origin String?
no setter
range → (int, int?)?
The range of bytes requested by the client.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setCookies ReadOnlySetCookies
no setter
transferEncoding String?
no setter
values Map<String, List<String>>
no setter

Methods

forEach(void f(String key, Iterable<String> value)) → void
get(String key) String?
getAll(String key) List<String>?
map<K2, V2>(MapEntry<K2, V2> convert(String key, Iterable<String> values)) Map<K2, V2>
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
operator [](String value) String?