public class CachingOptions
Specifies caching properties for an class OutgoingContent such as Cache-Control or Expires
class OutgoingContent| Constructor and Description |
|---|
CachingOptions(CacheControl cacheControl,
io.ktor.util.date.GMTDate expires)
Specifies caching properties for an
class OutgoingContent such as Cache-Control or Expires |
CachingOptions()
Specifies caching properties for an
class OutgoingContent such as Cache-Control or Expires |
| Modifier and Type | Method and Description |
|---|---|
CacheControl |
component1()
header
|
io.ktor.util.date.GMTDate |
component2()
header
|
CachingOptions |
copy(CacheControl cacheControl,
io.ktor.util.date.GMTDate expires)
Specifies caching properties for an
class OutgoingContent such as Cache-Control or Expires |
boolean |
equals(java.lang.Object p) |
CacheControl |
getCacheControl()
header
|
io.ktor.util.date.GMTDate |
getExpires()
header
|
int |
hashCode() |
java.lang.String |
toString() |
public CachingOptions(CacheControl cacheControl, io.ktor.util.date.GMTDate expires)
Specifies caching properties for an class OutgoingContent such as Cache-Control or Expires
cacheControl - headerexpires - headerclass OutgoingContentpublic CachingOptions()
Specifies caching properties for an class OutgoingContent such as Cache-Control or Expires
class OutgoingContentpublic CacheControl getCacheControl()
header
public io.ktor.util.date.GMTDate getExpires()
header
public CacheControl component1()
header
public io.ktor.util.date.GMTDate component2()
header
public CachingOptions copy(CacheControl cacheControl, io.ktor.util.date.GMTDate expires)
Specifies caching properties for an class OutgoingContent such as Cache-Control or Expires
class OutgoingContentpublic java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)