public class WebServer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
appCapt |
java.lang.String |
appName |
java.lang.String |
appVers |
protected boolean |
debugMode |
java.lang.String |
defHTML |
static FileLog |
flog |
protected java.lang.String |
logMode |
protected java.lang.String |
logPath |
java.lang.String |
mainDir |
protected int |
maxALLines |
protected long |
maxFLSize |
protected int |
maxReq |
static java.util.Properties |
mime |
protected java.lang.String |
mimeFile |
static WebServer |
obj |
protected int |
port |
static Preferences |
pref |
protected java.lang.String |
prefFile |
protected java.lang.String |
prefHeader |
int |
reqTimeout |
static WServer |
srv |
protected boolean |
sslOn |
static ControlWin |
win |
Modifier | Constructor and Description |
---|---|
protected |
WebServer() |
Modifier and Type | Method and Description |
---|---|
protected void |
initVars()
An auxiliary method to initialize variables
|
protected void |
loadMime() |
protected void |
loadSettings() |
protected void |
setMessageMode() |
static void |
terminate(boolean normal)
Terminates properly the application.
|
protected int port
protected int maxReq
protected java.lang.String logMode
protected boolean debugMode
protected java.lang.String prefFile
protected java.lang.String prefHeader
protected java.lang.String mimeFile
protected java.lang.String logPath
protected long maxFLSize
protected int maxALLines
protected boolean sslOn
public int reqTimeout
public java.lang.String mainDir
public java.lang.String defHTML
public java.lang.String appName
public java.lang.String appVers
public java.lang.String appCapt
public static WebServer obj
public static WServer srv
public static ControlWin win
public static Preferences pref
public static java.util.Properties mime
public static FileLog flog
public static void terminate(boolean normal)
normal
- True for a normal terminate or false for an abnormal
terminationprotected void initVars()
protected void loadSettings()
protected void setMessageMode()
protected void loadMime()