CacheDirectives

scamper.http.types.CacheDirectives
case object CacheDirectives

Provides registered cache directives.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

case object `private` extends CacheDirective

Cache directive for private.

Cache directive for private.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
`private`.type
case object immutable extends CacheDirective

Cache directive for immutable.

Cache directive for immutable.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
immutable.type
final case class max-age(seconds: Long) extends CacheDirective

Cache directive for max-age.

Cache directive for max-age.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class max-stale(seconds: Long) extends CacheDirective

Cache directive for max-stale.

Cache directive for max-stale.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class min-fresh(seconds: Long) extends CacheDirective

Cache directive for min-fresh.

Cache directive for min-fresh.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object must-revalidate extends CacheDirective

Cache directive for must-revalidate.

Cache directive for must-revalidate.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object no-cache extends CacheDirective

Cache directive for no-cache.

Cache directive for no-cache.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
no-cache.type
case object no-store extends CacheDirective

Cache directive for no-store.

Cache directive for no-store.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
no-store.type
case object no-transform extends CacheDirective

Cache directive for no-transform.

Cache directive for no-transform.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object only-if-cached extends CacheDirective

Cache directive for only-if-cached.

Cache directive for only-if-cached.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object proxy-revalidate extends CacheDirective

Cache directive for proxy-revalidate.

Cache directive for proxy-revalidate.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object public extends CacheDirective

Cache directive for public.

Cache directive for public.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
public.type
final case class s-maxage(seconds: Long) extends CacheDirective

Cache directive for s-maxage.

Cache directive for s-maxage.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class stale-if-error(seconds: Long) extends CacheDirective

Cache directive for stale-if-error.

Cache directive for stale-if-error.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class stale-while-revalidate(seconds: Long) extends CacheDirective

Cache directive for stale-while-revalidate.

Cache directive for stale-while-revalidate.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Value members

Inherited methods

def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product