| Package | Description |
|---|---|
| com.linecorp.armeria.common |
Common types.
|
| Modifier and Type | Field and Description |
|---|---|
static ServerCacheControl |
ServerCacheControl.DISABLED
"no-cache, no-store, must-revalidate". |
static ServerCacheControl |
ServerCacheControl.EMPTY
An empty instance with all directives disabled.
|
static ServerCacheControl |
ServerCacheControl.IMMUTABLE
"max-age=31536000, public, immutable". |
static ServerCacheControl |
ServerCacheControl.REVALIDATED
"no-cache, must-revalidate". |
| Modifier and Type | Method and Description |
|---|---|
ServerCacheControl |
ServerCacheControlBuilder.build()
Returns a newly created
ServerCacheControl with the directives enabled so far. |
static ServerCacheControl |
ServerCacheControl.parse(Iterable<String> directives)
Parses the specified
"cache-control" header values into a ServerCacheControl. |
static ServerCacheControl |
ServerCacheControl.parse(String... directives)
Parses the specified
"cache-control" header values into a ServerCacheControl. |
Copyright © 2020 LeanCloud. All rights reserved.