class WebServer extends HServer
- Alphabetic
- By Inheritance
- WebServer
- HServer
- HLoggable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Type Members
-
class
RequestHandler extends HApp
Request handler
Request handler
- Attributes
- protected
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
-
val
adminError: String
Error page returned by the server
-
var
adminHtml: Option[Elem]
Administration page, read from jar://resources/admin.html
-
def
apps: List[RequestHandler]
Returns the list of available applications.
-
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
- Definition Classes
- HServer
-
def
bufferSize: Int
Returns the NIO buffer size.
Returns the NIO buffer size.
- Definition Classes
- HServer
-
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
- Definition Classes
- HServer
-
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
- Definition Classes
- HServer
-
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.
Returns the time a shutdown process let the HLets a chance to finish properly.
- Definition Classes
- HServer
-
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
- Definition Classes
- HServer
-
def
maxPostDataLength: Int
Returns the maximum upload size allowed.
Returns the maximum upload size allowed.
- Attributes
- protected
- Definition Classes
- HServer
-
def
name: String
Returns the server name, used in response headers.
-
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
- Definition Classes
- HServer
-
def
onStop(): Unit
Executed before the server is stopped
Executed before the server is stopped
- Attributes
- protected
- Definition Classes
- HServer
-
def
poolSize: Int
Returns the executor pool size.
Returns the executor pool size.
- Attributes
- protected
- Definition Classes
- HServer
-
def
ports: Set[Int]
Returns the list of ports, the server listens to.
-
def
queueSize: Int
Returns the executor queue size.
Returns the executor queue size.
- Attributes
- protected
- Definition Classes
- HServer
-
val
readmeError: String
Error page returned by the server
-
var
readmeText: Option[String]
Readme page, read from jar://resources/readme.txt
-
def
selectorPoolSize: Int
- Attributes
- protected
-
def
ssl: List[HSslContext]
Returns the SSL settings if any.
Returns the SSL settings if any.
- Definition Classes
- HServer
-
def
start: Unit
Starts the server.
Starts the server.
- Definition Classes
- HServer
-
def
startStopListener: Unit
Starts the stop listener.
-
def
stop: Unit
Stops the server.
Stops the server.
- Definition Classes
- HServer
-
def
stopHost: String
Returns the host to listen to for stop message.
Returns the host to listen to for stop message.
- Definition Classes
- HServer
-
def
stopPort: Int
Returns the port number listened to for a stop message.
Returns the port number listened to for a stop message.
- Definition Classes
- HServer
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
talkPoolSize: Int
- Attributes
- protected
-
def
talkQueueSize: Int
- Attributes
- protected
- def tcpNoDelay: Boolean
-
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.