Package no.polaric.core
Interface ServerConfig.Web
- All Known Implementing Classes:
WebServer
- Enclosing interface:
ServerConfig
public static interface ServerConfig.Web
Interface to web server.
FIXME: Consider subtyping this in http package.
-
Method Summary
Modifier and TypeMethodDescriptionintnClients()longnHttpReq()intlongnLogins()voidnotifyUser(String user, ServerConfig.Notification not) longnVisits()voidprotectDeviceUrl(String prefix) voidprotectUrl(String prefix) voidprotectUrl(String prefix, String level) pubSub()voidstart()voidstop()userDb()
-
Method Details
-
nVisits
long nVisits() -
nLogins
long nLogins() -
nClients
int nClients() -
nLoggedin
int nLoggedin() -
nHttpReq
long nHttpReq() -
userDb
ServerConfig.UserDb userDb() -
pubSub
ServerConfig.PubSub pubSub() -
notifyUser
-
protectUrl
-
protectUrl
-
protectDeviceUrl
-
start
- Throws:
Exception
-
stop
- Throws:
Exception
-