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
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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def forBytes(bytes: Array[Byte]): String
  10. def forFile(path: String, mimeo: Option[String], gzipped: Boolean): Result
  11. 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.

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

    Etag without quotes is technically illegal.

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

    returns

    true if NOT_MODIFIED response has been sent

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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped