org.hyperscala.hello

HelloSite

object HelloSite extends Website[MapSession] with BasicWebsite with StaticWebsite[MapSession] with JettyApplication

HelloSite is the starting point of our application. It is responsible for all resource management and web pages.

We are extending both BasicWebsite and DynamicWebsite to simplify the process of getting started.

Linear Supertypes
JettyApplication, StaticWebsite[MapSession], BasicWebsite, Website[MapSession], WebApplication[MapSession], NotFoundApplication, SessionApplication[MapSession], HandlerApplication, Logging, HttpApplication, Disposable, Updatable, HttpHandler, Listenable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HelloSite
  2. JettyApplication
  3. StaticWebsite
  4. BasicWebsite
  5. Website
  6. WebApplication
  7. NotFoundApplication
  8. SessionApplication
  9. HandlerApplication
  10. Logging
  11. HttpApplication
  12. Disposable
  13. Updatable
  14. HttpHandler
  15. Listenable
  16. AnyRef
  17. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class SessionCreateHandler extends HttpHandler

    Definition Classes
    SessionApplication
  2. class Sessions extends AnyRef

    Definition Classes
    SessionApplication

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 addClassPath(urlBasePath: String, lookupPath: String, allowCaching: Boolean, priority: Priority): FunctionalListener[(HttpRequest, HttpResponse), HttpResponse]

    Definition Classes
    WebApplication
  5. def addContent(creator: (HttpRequest) ⇒ HttpContent, uris: String*): HttpHandler

    Definition Classes
    WebApplication
  6. def addContent(creator: ⇒ HttpContent, uris: String*): HttpHandler

    Definition Classes
    WebApplication
  7. def addFilePath(urlBasePath: String, directory: File, allowCaching: Boolean, priority: Priority): FunctionalListener[(HttpRequest, HttpResponse), HttpResponse]

    Definition Classes
    WebApplication
  8. def addHandler(handler: HttpHandler, uris: String*): HttpHandler

    Definition Classes
    WebApplication
  9. val application: MapStorage[Any, Any]

    Definition Classes
    Website
  10. def around[R](request: HttpRequest)(f: ⇒ R): R

    Definition Classes
    HttpApplication
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def cookieName: String

    Attributes
    protected
    Definition Classes
    SessionApplication
  14. def createSession(request: HttpRequest, id: String): MapSession

    Attributes
    protected
    Definition Classes
    BasicWebsite → SessionApplication
  15. def debug(message: ⇒ Any): Unit

    Definition Classes
    Logging
  16. def defaultPort: Int

    Attributes
    protected
    Definition Classes
    JettyApplication
  17. def defaultScope: Scope

    Attributes
    protected
    Definition Classes
    StaticWebsite
  18. def dispose(): Unit

    Definition Classes
    JettyApplication → HttpApplication → Disposable
  19. val disposed: UnitProcessor[HttpApplication]

    Definition Classes
    HttpApplication
  20. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  22. def error(message: ⇒ Any, t: Throwable): Unit

    Definition Classes
    Logging
  23. def error(message: ⇒ Any): Unit

    Definition Classes
    Logging
  24. def errorPage(request: HttpRequest, response: HttpResponse, status: HttpResponseStatus): HttpResponse

    Definition Classes
    Website
  25. def errorThrown(t: Throwable): Unit

    Definition Classes
    Website
  26. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  28. val handlers: HandlerProcessor

    Definition Classes
    HandlerApplication
  29. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  30. def index: HelloPage

  31. def info(message: ⇒ Any): Unit

    Definition Classes
    Logging
  32. def init(): Unit

    Definition Classes
    Website → HttpApplication
  33. final def initialize(): Unit

    Definition Classes
    HttpApplication
  34. def initialized: Boolean

    Definition Classes
    HttpApplication
  35. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  36. def isRunning: Boolean

    Definition Classes
    HttpApplication
  37. def listen[Event, Response, Result](name: String, priority: Priority, modes: ListenMode*)(f: (Event) ⇒ Response)(implicit eventManifest: Manifest[Event]): FunctionalListener[Event, Response]

    Definition Classes
    Listenable
  38. val listeners: Listeners

    Definition Classes
    Listenable
  39. def log(level: Level, message: ⇒ Any): Unit

    Definition Classes
    Logging
  40. def logger: Logger

    Definition Classes
    Logging
  41. def loggerName: String

    Attributes
    protected
    Definition Classes
    Logging
  42. def main(args: Array[String]): Unit

    Definition Classes
    JettyApplication
  43. implicit val manifest: Manifest[MapSession]

    Definition Classes
    Website
  44. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  45. def notFoundContent(request: HttpRequest): StringContent

    Attributes
    protected
    Definition Classes
    WebApplication → NotFoundApplication
  46. final def notify(): Unit

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

    Definition Classes
    AnyRef
  48. def onReceive(request: HttpRequest, response: HttpResponse): HttpResponse

    Definition Classes
    NotFoundApplication → HttpApplication → HttpHandler
  49. def page(creator: ⇒ Webpage[MapSession], scope: Scope, uris: String*): WebpageHandler[MapSession]

    Definition Classes
    Website
  50. val pageError: UnitProcessor[(Webpage[MapSession], Throwable)]

    Definition Classes
    Website
  51. lazy val pages: Pages[MapSession]

    Definition Classes
    Website
  52. final def port: Int

    Definition Classes
    JettyApplication
  53. def register(resource: String): Unit

    Definition Classes
    WebApplication
  54. def register(path: String, url: URL): Unit

    Definition Classes
    WebApplication
  55. def register(path: String, resource: String): Unit

    Definition Classes
    WebApplication
  56. def remove(id: String): Unit

    Attributes
    protected[com.outr.net.http.session]
    Definition Classes
    SessionApplication
  57. def removeContent(uri: String): Unit

    Definition Classes
    WebApplication
  58. def request: HttpRequest

    Definition Classes
    HttpApplication
  59. def requestOption: Option[HttpRequest]

    Definition Classes
    HttpApplication
  60. def session: MapSession

    Definition Classes
    SessionApplication
  61. lazy val sessions: Sessions

    Definition Classes
    SessionApplication
  62. def start(): Unit

    Definition Classes
    JettyApplication
  63. def stop(): Unit

    Definition Classes
    JettyApplication
  64. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  65. implicit val thisListenable: Listenable

    Definition Classes
    Listenable
  66. def toString(): String

    Definition Classes
    AnyRef → Any
  67. def trace(message: ⇒ Any): Unit

    Definition Classes
    Logging
  68. def update(delta: Double): Unit

    Definition Classes
    Website → SessionApplication → Updatable
  69. def updateFrequency: Double

    Definition Classes
    HttpApplication
  70. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. def warn(message: ⇒ Any, t: Throwable): Unit

    Definition Classes
    Logging
  74. def warn(message: ⇒ Any): Unit

    Definition Classes
    Logging

Inherited from JettyApplication

Inherited from StaticWebsite[MapSession]

Inherited from BasicWebsite

Inherited from Website[MapSession]

Inherited from WebApplication[MapSession]

Inherited from NotFoundApplication

Inherited from SessionApplication[MapSession]

Inherited from HandlerApplication

Inherited from Logging

Inherited from HttpApplication

Inherited from Disposable

Inherited from Updatable

Inherited from HttpHandler

Inherited from Listenable

Inherited from AnyRef

Inherited from Any

Ungrouped