Package

xitrum

util

Permalink

package util

Content Hierarchy
Visibility
  1. Public
  2. All

Type Members

  1. class ClassFileLoader extends ClassLoader

    Permalink

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

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

    Permalink
  3. trait LowPriorityDefaultsTo extends AnyRef

    Permalink

Value Members

  1. object ByteBufUtil

    Permalink
  2. object CoffeeScriptCompiler

    Permalink

    Compiled script is cached.

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

  3. object DefaultsTo extends LowPriorityDefaultsTo

    Permalink
  4. object FileMonitor

    Permalink
  5. object Gzip

    Permalink
  6. object Loader

    Permalink
  7. object LocalLruCache

    Permalink

    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

    Permalink
  9. object PathSanitizer

    Permalink
  10. object Secure

    Permalink

    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

    Permalink
  12. object TypeCheck

    Permalink

Ungrouped