xitrum

Config

object Config extends Log

See config/xitrum.properties

Linear Supertypes
Log, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Config
  2. Log
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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. val ACTOR_SYSTEM_NAME: String

  5. val BIG_TEXTUAL_RESPONSE_SIZE_IN_KB: Int

    Static textual files are always compressed Dynamic textual responses are only compressed if they are big http://code.

    Static textual files are always compressed Dynamic textual responses are only compressed if they are big http://code.google.com/speed/page-speed/docs/payload.html#GzipCompression

    Google recommends > 150B-1KB

  6. val actorSystem: ActorSystem

    akka.

    akka.actor.ActorSystem("xitrum")

  7. val application: com.typesafe.config.Config

    config/application.

    config/application.conf

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. val baseUrl: String

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def exitOnStartupError(msg: String, e: Throwable): Unit

  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. lazy val log: Logger

    Log name is inferred from name of the class extending this trait.

    Log name is inferred from name of the class extending this trait.

    Definition Classes
    Log
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. val productionMode: Boolean

    true if "xitrum.

    true if "xitrum.mode" system property is set to "production" See bin/runner.sh.

  23. val root: String

    Path to the root directory of the current project.

    Path to the root directory of the current project. If you're familiar with Rails, this is the same as Rails.root. See https://github.com/xitrum-framework/xitrum/issues/47

  24. lazy val routes: RouteCollection

    Use lazy to avoid collecting routes if they are not used.

    Use lazy to avoid collecting routes if they are not used. Sometimes we want to work in SBT console mode and don't like waste several seconds collecting routes that we don't use.

  25. lazy val routesReverseMappings: Map[Class[_], ReverseRoute]

    routes.

    routes.reverseMappings is used heavily in URL generation, cache it here

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def warnOnDefaultSecureKey(): Unit

  32. def withBaseUrl(path: String): String

  33. val xitrum: Config

    config/xitrum.

    config/xitrum.conf

Inherited from Log

Inherited from AnyRef

Inherited from Any

Ungrouped