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 TypeMethodDescriptionint
nClients()
long
nHttpReq()
int
long
nLogins()
void
notifyUser
(String user, ServerConfig.Notification not) long
nVisits()
void
protectDeviceUrl
(String prefix) void
protectUrl
(String prefix) void
protectUrl
(String prefix, String level) pubSub()
void
start()
void
stop()
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
-