HttpxCacheControl class

Constructors

HttpxCacheControl({bool immutable = false, Duration? maxAgeValue, bool maxStale = false, Duration? maxStaleValue, Duration? minFreshValue, bool noCache = false, Iterable<HttpxHeaderName> noCacheValues = const [], bool noStore = false, bool noTransform = false, bool onlyIfCached = false, bool mustRevalidate = false, bool mustUnderstand = false, bool public = false, bool private = false, Iterable<HttpxHeaderName> privateValues = const [], bool proxyRevalidate = false, Duration? sMaxAgeValue, Duration? staleWhileRevalidateValue, Duration? staleIfErrorValue})
HttpxCacheControl.fromHeaderValues(HttpxHeaderValues headerValues)
factory
HttpxCacheControl.fromMap(Map<String, String?> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
immutable bool
final
maxAgeValue Duration?
final
maxStale bool
final
maxStaleValue Duration?
final
minFreshValue Duration?
final
mustRevalidate bool
final
mustUnderstand bool
final
noCache bool
final
noCacheValues Iterable<HttpxHeaderName>
final
noStore bool
final
noTransform bool
final
onlyIfCached bool
final
private bool
final
privateValues Iterable<HttpxHeaderName>
final
proxyRevalidate bool
final
public bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sMaxAgeValue Duration?
final
staleIfErrorValue Duration?
final
staleWhileRevalidateValue Duration?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toHeaderValues() HttpxHeaderValues
toMap() Map<String, String?>
toString() String
A string representation of this object.
override

Operators

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