Packages

  • package root
    Definition Classes
    root
  • package xitrum

    Things that are usually used by application developers are put in this package for convenience, because when they want to use XXX, they can simply write:

    Things that are usually used by application developers are put in this package for convenience, because when they want to use XXX, they can simply write:

    import xitrum.XXX

    To avoid polluting this namespace, things that are utilities should be put in package xitrum.util, not here.

    Annotations and validators are put to package xitrum.annation and xitrum.validator because there are many of them. It's better for application developers to write:

    import xitrum.annotation._
    import xitrum.validator._
    Definition Classes
    root
  • package etag
    Definition Classes
    xitrum
  • Etag
  • NotModified

object Etag

Linear Supertypes
AnyRef, Any
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Etag
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Result extends AnyRef
  2. case class Small (bytes: Array[Byte], etag: String, mimeo: Option[String], gzipped: Boolean) extends Result with Product with Serializable
  3. case class TooBig (file: File, mimeo: Option[String]) extends Result with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def areEtagsIdentical(request: HttpRequest, etag: String): Boolean
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def forBytes(bytes: Array[Byte]): String
  11. def forFile(path: String, mimeo: Option[String], gzipped: Boolean): Result
  12. def forResource(path: String, mimeo: Option[String], gzipped: Boolean): Result

    Read whole file to memory.

    Read whole file to memory. It's OK because the files are normally small. No one is stupid enough to store large files in resources.

  13. def forString(string: String): String
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. def quote(etag: String): String

    Etag without quotes is technically illegal.

  21. def respondIfEtagsIdentical(action: Action, etag: String): Boolean

    returns

    true if NOT_MODIFIED response has been sent

  22. def set(response: HttpResponse, etag: String): Unit
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. object NotFound extends Result with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped