Class

com.outr.net.http

WebApplication

Related Doc: package http

Permalink

abstract class WebApplication extends SessionApplication with NotFoundApplication

Linear Supertypes
NotFoundApplication, SessionApplication, 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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WebApplication()

    Permalink

Type Members

  1. abstract type S <: Session

    Permalink
    Definition Classes
    SessionApplication
  2. class SessionCreateHandler extends HttpHandler

    Permalink
    Definition Classes
    SessionApplication
  3. class Sessions extends AnyRef

    Permalink
    Definition Classes
    SessionApplication

Abstract Value Members

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

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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addClassPath(urlBasePath: String, lookupPath: String, allowCaching: Boolean = true, priority: Priority = Priority.Normal): FunctionalListener[(HttpRequest, HttpResponse), HttpResponse]

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

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

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

    Permalink
  8. def addHandler(handler: HttpHandler, r: Regex, pathOnly: Boolean = true): HttpHandler

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

    Permalink
  10. def around[R](request: HttpRequest)(f: ⇒ R): R

    Permalink

    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.

    request

    the request that is being handled

    f

    the function to manage the request / response process.

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

    Permalink
    Definition Classes
    Any
  12. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    Logging
  15. def dispose(): Unit

    Permalink

    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]

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

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

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

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

    Permalink
    Definition Classes
    Logging
  21. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. val handlers: HandlerProcessor

    Permalink
    Definition Classes
    HandlerApplication
  24. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    HttpApplication
  27. def initialized: Boolean

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

    Permalink
    Definition Classes
    Any
  29. def isRunning: Boolean

    Permalink
    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]

    Permalink
    Definition Classes
    Listenable
  31. val listeners: Listeners

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

    Permalink
    Definition Classes
    Logging
  33. def logger: Logger

    Permalink
    Definition Classes
    Logging
  34. def loggerName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  35. def lookupAndStoreSession(request: HttpRequest): Unit

    Permalink
    Definition Classes
    SessionApplication
  36. def lookupSession(request: HttpRequest): Option[S]

    Permalink
    Definition Classes
    SessionApplication
  37. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  40. final def notifyAll(): Unit

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

    Permalink
  42. def register(resource: String): Unit

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

    Permalink
  44. def register(path: String, resource: String): Unit

    Permalink
  45. def remove(id: String): Unit

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

    Permalink
  47. def request: HttpRequest

    Permalink
    Definition Classes
    HttpApplication
  48. def requestOption: Option[HttpRequest]

    Permalink

    Option[HttpRequest]

    Option[HttpRequest]

    Definition Classes
    HttpApplication
  49. def session: S

    Permalink
    Definition Classes
    SessionApplication
  50. lazy val sessions: Sessions

    Permalink
    Definition Classes
    SessionApplication
  51. def storeSession(request: HttpRequest, session: S): Unit

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

    Permalink
    Definition Classes
    AnyRef
  53. implicit val thisListenable: Listenable

    Permalink
    Definition Classes
    Listenable
  54. def toString(): String

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

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

    Permalink
    Definition Classes
    SessionApplication → Updatable
  57. def updateFrequency: Double

    Permalink

    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
  58. final def wait(): Unit

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

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

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

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

    Permalink
    Definition Classes
    Logging
  63. def webSocketPath: Option[String]

    Permalink
    Definition Classes
    HttpApplication

Inherited from NotFoundApplication

Inherited from SessionApplication

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