trait Server extends HttpHandler with ErrorSupport
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Server
- ErrorSupport
- HttpHandler
- Ordered
- Comparable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- implicit class ServerHttpHandler extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
<(that: HttpHandler): Boolean
- Definition Classes
- Ordered
-
def
<=(that: HttpHandler): Boolean
- Definition Classes
- Ordered
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>(that: HttpHandler): Boolean
- Definition Classes
- Ordered
-
def
>=(that: HttpHandler): Boolean
- Definition Classes
- Ordered
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compare(that: HttpHandler): Int
- Definition Classes
- HttpHandler → Ordered
-
def
compareTo(that: HttpHandler): Int
- Definition Classes
- Ordered → Comparable
- val config: ServerConfig
- def dispose(): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(t: Throwable): Unit
- Definition Classes
- ErrorSupport
-
val
errorHandler: Var[ErrorHandler]
The error handler if an error is thrown.
The error handler if an error is thrown. This is used automatically when an HttpHandler fires a Throwable but can be explicitly used for more specific errors. The error handler is responsible for applying an existing status on the HttpResponse or setting one if the status is a non-error.
Defaults to DefaultErrorHandler
-
def
errorSupport[R](f: ⇒ R): R
- Definition Classes
- ErrorSupport
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
handle(connection: HttpConnection): Future[HttpConnection]
- Definition Classes
- Server → HttpHandler
-
def
handleInternal(connection: HttpConnection): Future[HttpConnection]
- Attributes
- protected
- val handler: HttpHandlerBuilder
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
lazy val
implementation: ServerImplementation
- Attributes
- protected
-
def
init(): Future[Unit]
Init is called on start(), but only the first time.
Init is called on start(), but only the first time. If the server is restarted it is not invoked again.
- Attributes
- protected
- def initialize(): Future[Unit]
- def isInitialized: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isRunning: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
priority: Priority
- Definition Classes
- HttpHandler
- def restart(): Unit
- def start(): Future[Unit]
- def stop(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object handlers extends ItemContainer[HttpHandler]
- object proxies extends ItemContainer[ProxyHandler]