trait HServer extends HLoggable
A server provides:
- few common settings,
- list of tiscaf.HApplications,
- start/stop methods
- Self Type
- HServer
- Source
- HServer.scala
- Alphabetic
- By Inheritance
- HServer
- HLoggable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bindHost: String
The host the server binds to
The host the server binds to
- Attributes
- protected
-
def
bufferSize: Int
Returns the NIO buffer size.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
connectionTimeoutSeconds: Int
Returns the connection timeout.
Returns the connection timeout. It has to purposes:
- a connection without any socket activity during this period will be closed
- if you use (and client wants) 'keep-alive' connection, this period is declared in response header
-
def
defaultHeaders: Map[String, String]
The list of defaults headers that are set by the server for each request.
The list of defaults headers that are set by the server for each request. Each let may override (or remove) them later
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(msg: String, t: Throwable): Unit
Called to log a tiscaf internal error.
-
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()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
info(msg: String): Unit
Called to log a tiscaf internal information.
-
def
interruptTimeoutMillis: Int
Returns the time a shutdown process let the HLets a chance to finish properly.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
logInternals: Boolean
Sets it to true to have internal information from tiscaf logged
Sets it to true to have internal information from tiscaf logged
- Attributes
- protected
-
def
maxPostDataLength: Int
Returns the maximum upload size allowed.
Returns the maximum upload size allowed.
- Attributes
- protected
-
def
name: String
Returns the server name, used in response headers.
Returns the server name, used in response headers.
- Attributes
- protected
-
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
onStart(): Unit
Executed at the end of the server is started
Executed at the end of the server is started
- Attributes
- protected
-
def
onStop(): Unit
Executed before the server is stopped
Executed before the server is stopped
- Attributes
- protected
-
def
poolSize: Int
Returns the executor pool size.
Returns the executor pool size.
- Attributes
- protected
-
def
queueSize: Int
Returns the executor queue size.
Returns the executor queue size.
- Attributes
- protected
-
def
ssl: List[HSslContext]
Returns the SSL settings if any.
-
def
start: Unit
Starts the server.
-
def
startStopListener: Unit
Starts the stop listener.
Starts the stop listener. Override if you want more elaborated shutdown procedure (and replace tiscaf.HStop)
- Attributes
- protected
-
def
stop: Unit
Stops the server.
-
def
stopHost: String
Returns the host to listen to for stop message.
-
def
stopPort: Int
Returns the port number listened to for a stop message.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tcpNoDelay: Boolean
- Attributes
- protected
-
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()
-
def
warning(msg: String): Unit
Called to log a tiscaf internal warning.