Package akka.http.javadsl.model.headers
Class CacheDirectives
- java.lang.Object
-
- akka.http.javadsl.model.headers.CacheDirectives
-
public final class CacheDirectives extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static CacheDirective
IMMUTABLE
static CacheDirective
MUST_REVALIDATE
static CacheDirective
NO_CACHE
static CacheDirective
NO_STORE
static CacheDirective
NO_TRANSFORM
static CacheDirective
ONLY_IF_CACHED
static CacheDirective
PROXY_REVALIDATE
static CacheDirective
PUBLIC
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CacheDirective
MAX_AGE(long deltaSeconds)
static CacheDirective
MAX_STALE()
static CacheDirective
MAX_STALE(long deltaSeconds)
static CacheDirective
MIN_FRESH(long deltaSeconds)
static CacheDirective
NO_CACHE(java.lang.String... fieldNames)
static CacheDirective
PRIVATE(java.lang.String... fieldNames)
static CacheDirective
S_MAXAGE(long deltaSeconds)
-
-
-
Field Detail
-
NO_CACHE
public static final CacheDirective NO_CACHE
-
NO_STORE
public static final CacheDirective NO_STORE
-
NO_TRANSFORM
public static final CacheDirective NO_TRANSFORM
-
ONLY_IF_CACHED
public static final CacheDirective ONLY_IF_CACHED
-
MUST_REVALIDATE
public static final CacheDirective MUST_REVALIDATE
-
PUBLIC
public static final CacheDirective PUBLIC
-
PROXY_REVALIDATE
public static final CacheDirective PROXY_REVALIDATE
-
IMMUTABLE
public static final CacheDirective IMMUTABLE
-
-
Method Detail
-
MAX_AGE
public static CacheDirective MAX_AGE(long deltaSeconds)
-
MAX_STALE
public static CacheDirective MAX_STALE()
-
MAX_STALE
public static CacheDirective MAX_STALE(long deltaSeconds)
-
MIN_FRESH
public static CacheDirective MIN_FRESH(long deltaSeconds)
-
NO_CACHE
public static CacheDirective NO_CACHE(java.lang.String... fieldNames)
-
PRIVATE
public static CacheDirective PRIVATE(java.lang.String... fieldNames)
-
S_MAXAGE
public static CacheDirective S_MAXAGE(long deltaSeconds)
-
-