URLMapPathMatcherPathRuleRouteActionCachePolicyNegativeCachingPolicy class
Constructors
-
URLMapPathMatcherPathRuleRouteActionCachePolicyNegativeCachingPolicy({Input<
int?> ? code, Input<URLMapPathMatcherPathRuleRouteActionCachePolicyNegativeCachingPolicyTtl?> ? ttl}) -
Creates a new URLMapPathMatcherPathRuleRouteActionCachePolicyNegativeCachingPolicy.
codeThe HTTP status code to define a TTL against. Only HTTP status codesttlThe TTL (in seconds) for which to cache responses with theconst -
URLMapPathMatcherPathRuleRouteActionCachePolicyNegativeCachingPolicy.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
code
→ Input<
int?> ? -
The HTTP status code to define a TTL against. Only HTTP status codes
300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 can be
specified as values, and you cannot specify a status code more than
once.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
ttl
→ Input<
URLMapPathMatcherPathRuleRouteActionCachePolicyNegativeCachingPolicyTtl?> ? -
The TTL (in seconds) for which to cache responses with the
corresponding status code. The maximum allowed value is 1800s (30
minutes). Infrequently accessed objects may be evicted from the cache
before the defined TTL.
Structure is documented below.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited