com.outr.net.http

WebApplication

Related Doc: package http

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WebApplication()

Type Members

  1. abstract type S <: Session

    Definition Classes
    SessionApplication
  2. class SessionCreateHandler extends HttpHandler

    Definition Classes
    SessionApplication
  3. 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, r: Regex, pathOnly: Boolean = true): HttpHandler

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

  10. def around[R](request: HttpRequest)(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.

    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

    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 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. def lookupAndStoreSession(request: HttpRequest): Unit

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

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

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

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

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

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

  42. def register(resource: String): Unit

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

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

  45. def remove(id: String): Unit

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

  47. def request: HttpRequest

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

    Option[HttpRequest]

    Option[HttpRequest]

    Definition Classes
    HttpApplication
  49. def session: S

    Definition Classes
    SessionApplication
  50. lazy val sessions: Sessions

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

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

    Definition Classes
    AnyRef
  53. implicit val thisListenable: Listenable

    Definition Classes
    Listenable
  54. def toString(): String

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

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

    Definition Classes
    SessionApplication → Updatable
  57. 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
  58. final def wait(): Unit

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

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

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

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

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

    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