com.typesafe.play

cachecontrol

package cachecontrol

Visibility
  1. Public
  2. All

Type Members

  1. trait Cache extends AnyRef

    This trait defines methods that are used through the library where core business logic belongs to the cache that is not in scope for RFC 7234 and cannot be predefined.

  2. class CacheControlException extends RuntimeException

  3. trait CacheDefaults extends Cache

  4. sealed trait CacheDirective extends AnyRef

    A trait that marks the cache directives generated from parsing a cache-control header.

  5. case class CacheRequest(uri: URI, method: String, headers: Map[HeaderName, Seq[String]]) extends Product with Serializable

    An incoming request which may be served from cache.

  6. trait CacheResponse extends AnyRef

  7. class CurrentAgeCalculator extends AnyRef

    Calculates the current age of a response.

  8. class FreshnessCalculator extends AnyRef

    Calculates freshness lifetime for a request.

  9. case class HeaderName(raw: String) extends Ordered[HeaderName] with Product with Serializable

  10. case class OriginResponse(uri: URI, status: Int, headers: Map[HeaderName, Seq[String]]) extends CacheResponse with Product with Serializable

    A response from an origin server.

  11. sealed trait ResponseCachingAction extends AnyRef

  12. class ResponseCachingCalculator extends AnyRef

    Decides whether this response from an origin server should be stored in cached or not.

  13. sealed trait ResponseSelectionAction extends AnyRef

  14. class ResponseSelectionCalculator extends AnyRef

    This class looks through the available responses, and provides an action -- either selecting a response, or rejecting with either a timeout or forward to origin.

  15. sealed trait ResponseServeAction extends AnyRef

  16. class ResponseServingCalculator extends AnyRef

    This class determines whether a cache can serve a stored response from request.

  17. class SecondaryKeyCalculator extends AnyRef

    This class produces secondary keys for a response from an origin server that contains a Vary header.

  18. case class StoredResponse(uri: URI, status: Int, headers: Map[HeaderName, Seq[String]], requestMethod: String, nominatedHeaders: Map[HeaderName, Seq[String]]) extends CacheResponse with Product with Serializable

    A response that comes from cache.

  19. class StripHeaderCalculator extends AnyRef

    Tells the cache what headers should be stripped before they are cached.

  20. case class Warning(code: Int, agent: String, text: String, date: Option[DateTime] = scala.None) extends Product with Serializable

    A parsed warning.

Value Members

  1. object CacheDirectiveParser

    The parser for cache directives specified in the "Cache-Control" HTTP header.

  2. object CacheDirectives

  3. object CurrentAgeCalculator

  4. object HeaderNames

  5. object HttpDate

    Defines methods for parsing and formatting HTTP dates.

  6. object ResponseCachingActions

    Case classes used by ResponseCachingPolicy.

  7. object ResponseCachingCalculator

  8. object ResponseSelectionActions

    Predefined actions to take for a selected response.

  9. object ResponseSelectionCalculator

  10. object ResponseServeActions

    The possible actions a client can execute when determining to serve a stored response.

  11. object ResponseServingCalculator

  12. object SecondaryKeyCalculator

  13. object VaryParser

    Parses the Vary header in to a list of field names.

  14. object WarningParser

Ungrouped