Packages

p

xitrum

util

package util

Content Hierarchy
Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. class ClassFileLoader extends ClassLoader

    This utility is useful for hot reloading .class files in defined directories during development.

  2. sealed class DefaultsTo [A, B] extends AnyRef
  3. trait LowPriorityDefaultsTo extends AnyRef

Value Members

  1. object ByteBufUtil
  2. object CoffeeScriptCompiler

    Compiled script is cached.

    Compiled script is cached. Cache with size 1024. Least recently used element is removed first.

  3. object DefaultsTo extends LowPriorityDefaultsTo
  4. object FileMonitor
  5. object Gzip
  6. object Loader
  7. object LocalLruCache

    Threadsafe, non-distributed LRU cache.

    Threadsafe, non-distributed LRU cache.

    http://stackoverflow.com/questions/221525/how-would-you-implement-an-lru-cache-in-java-6

    Xitrum uses this for storing etags for static files. Each web server in a cluster has its own cache of (file path, mtime) -> etag.

  8. object Mime
  9. object PathSanitizer
  10. object Secure

    Note that Secure is for preventing a user to mess with his own data to cheat the server.

    Note that Secure is for preventing a user to mess with his own data to cheat the server. CSRF is for preventing a user to fake other user's data.

  11. object SeriDeseri
  12. object TypeCheck

Ungrouped