JaguarHttpHeaders class

Class to hold HTTP headers




charset String
Sets and gets charset
read / write
contentType ContentType
Gets and sets the content type
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
headers Map<String, List<String>>
keys Iterable<String>
mimeType String
Sets and gets mime-type
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


add(String name, Object value) → void
Adds a header value. The header named name will have the value value added to its list of values. [...]
clear() → void
Remove all headers
forEach(void f(String name, List<String> values)) → void
Enumerates the headers, applying the function f to each header. The header name passed in name will be all lower case.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
remove(String name, Object value) → void
Removes a specific value for a header name
removeAll(String name) → void
Removes all values for the specified header name
set(String name, String value) → void
Sets a header. The header named name will have all its values cleared before the value value is added as its value.
toString() String
Returns a string representation of this object.
value(String name) String
Returns header value by name [...]


operator ==(Object other) bool
The equality operator. [...]
operator [](String name) → dynamic
Returns value for the given header name
operator []=(String name, dynamic value) → void
Sets a header value by given header name