CacheInterceptor class
Conservative public-response cache. Authenticated/cookie requests bypass it.
- Implemented types
Constructors
- CacheInterceptor(CacheStore store, {DateTime clock()?, int maxEntryBytes = 1024 * 1024})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxEntryBytes → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- store → CacheStore
-
final
Methods
-
intercept(
HttpRequest request, CancellationToken token, HttpRequestHandler next) → Future< HttpResponse> -
override
-
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