com.outr.net.http

WebApplication

abstract class WebApplication[S <: Session] extends SessionApplication[S] with NotFoundApplication

Linear Supertypes
NotFoundApplication, SessionApplication[S], HandlerApplication, Logging, HttpApplication, Disposable, Updatable, HttpHandler, Listenable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. WebApplication
  2. NotFoundApplication
  3. SessionApplication
  4. HandlerApplication
  5. Logging
  6. HttpApplication
  7. Disposable
  8. Updatable
  9. HttpHandler
  10. Listenable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WebApplication()

Type Members

  1. class SessionCreateHandler extends HttpHandler

    Definition Classes
    SessionApplication
  2. class Sessions extends AnyRef

    Definition Classes
    SessionApplication

Abstract Value Members

  1. abstract def createSession(request: HttpRequest, id: String): S

    Attributes
    protected
    Definition Classes
    SessionApplication
  2. abstract def init(): Unit

    Called once as the application is initialized.

    Called once as the application is initialized.

    Attributes
    protected
    Definition Classes
    HttpApplication

Concrete 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 = true, priority: Priority = Priority.Normal): FunctionalListener[(HttpRequest, HttpResponse), HttpResponse]

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

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

  7. def addFilePath(urlBasePath: String, directory: File, allowCaching: Boolean = true, priority: Priority = Priority.Normal): FunctionalListener[(HttpRequest, HttpResponse), HttpResponse]

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

  9. def around[R](f: ⇒ R): R

    This method is invoked per request to allow wrapping around the entire request/response functionality.

    This method is invoked per request to allow wrapping around the entire request/response functionality.

    f

    the function to manage the request / response process.

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

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def contextualize[R](request: HttpRequest)(f: ⇒ R): R

    Definition Classes
    HttpApplication
  13. def cookieName: String

    Attributes
    protected
    Definition Classes
    SessionApplication
  14. def debug(message: ⇒ Any): Unit

    Definition Classes
    Logging
  15. def dispose(): Unit

    Called once when the application is terminating (not guaranteed to be executed).

    Called once when the application is terminating (not guaranteed to be executed).

    Definition Classes
    SessionApplicationHttpApplication → Disposable
  16. val disposed: UnitProcessor[HttpApplication]

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

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

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

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

    Definition Classes
    Logging
  21. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  23. val handlers: HandlerProcessor

    Definition Classes
    HandlerApplication
  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  25. def info(message: ⇒ Any): Unit

    Definition Classes
    Logging
  26. final def initialize(): Unit

    Definition Classes
    HttpApplication
  27. def initialized: Boolean

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

    Definition Classes
    Any
  29. def isRunning: Boolean

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

    Definition Classes
    Listenable
  31. val listeners: Listeners

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

    Definition Classes
    Logging
  33. def logger: Logger

    Definition Classes
    Logging
  34. def loggerName: String

    Attributes
    protected
    Definition Classes
    Logging
  35. final def ne(arg0: AnyRef): Boolean

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

    Attributes
    protected
    Definition Classes
    WebApplicationNotFoundApplication
  37. final def notify(): Unit

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

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

  40. def register(resource: String): Unit

  41. def register(path: String, url: java.net.URL): Unit

  42. def register(path: String, resource: String): Unit

  43. def remove(id: String): Unit

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

  45. def request: HttpRequest

    The HttpRequest for the current thread.

    The HttpRequest for the current thread. This will throw a RuntimeException if there is no request contextualized.

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

    Option[HttpRequest]

    Option[HttpRequest]

    Definition Classes
    HttpApplication
  47. def session: S

    Definition Classes
    SessionApplication
  48. lazy val sessions: Sessions

    Definition Classes
    SessionApplication
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  50. implicit val thisListenable: Listenable

    Definition Classes
    Listenable
  51. def toString(): String

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

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

    Definition Classes
    SessionApplication → Updatable
  54. def updateFrequency: Double

    The frequency the application will be updated in seconds.

    The frequency the application will be updated in seconds.

    Defaults to 5 seconds.

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

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

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

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

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

    Definition Classes
    Logging

Inherited from NotFoundApplication

Inherited from SessionApplication[S]

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