Modifier and Type | Class and Description |
---|---|
static class |
StaticOptions.AuthMethod
Authorization method.
|
Options.YesNo, Options.YesNoOmit
Modifier and Type | Field and Description |
---|---|
static EnumOption<StaticOptions.AuthMethod> |
AUTHMETHOD
Default authorization method.
|
static Comment |
C_CLIENT
Comment: written to options file.
|
static Comment |
C_GENERAL
Comment: written to options file.
|
static Comment |
C_HTTP
Comment: written to options file.
|
static StringOption |
DBPATH
Database path.
|
static BooleanOption |
DEBUG
Debug mode.
|
static NumberOption |
EVENTPORT
Server: port, used for sending events.
|
static BooleanOption |
GLOBALLOCK
Applied locking algorithm: local (database) vs. global (process) locking.
|
static StringOption |
HOST
Server: host, used for connecting new clients.
|
static BooleanOption |
HTTPLOCAL
Local (embedded) mode.
|
static NumberOption |
KEEPALIVE
Keep alive time of clients; deactivated if set to 0.
|
static StringOption |
LANG
Language name.
|
static BooleanOption |
LANGKEYS
Flag to include key names in the language strings.
|
static BooleanOption |
LOG
Logging flag.
|
static NumberOption |
LOGMSGMAXLEN
Log message cut-off.
|
static StringOption |
NONPROXYHOSTS
Server: non-proxy host.
|
static NumberOption |
PARALLEL
Defines the number of parallel readers.
|
static StringOption |
PASSWORD
Default password.
|
static NumberOption |
PORT
Server: port, used for connecting new clients.
|
static StringOption |
PROXYHOST
Server: proxy host (default: ignored).
|
static NumberOption |
PROXYPORT
Server: proxy port (default: ignored).
|
static StringOption |
REPOPATH
Package repository path.
|
static StringOption |
RESTXQPATH
RESTXQ path (relative to web path).
|
static StringOption |
SERVERHOST
Server: host, used for binding the server.
|
static NumberOption |
SERVERPORT
Server: port, used for binding the server.
|
static NumberOption |
STOPPORT
Port for stopping the web server.
|
static NumberOption |
TIMEOUT
Timeout (seconds) for processing client requests; deactivated if set to 0.
|
static StringOption |
USER
Default user.
|
static StringOption |
WEBPATH
Web path.
|
Modifier and Type | Method and Description |
---|---|
boolean |
dbexists(String db)
Checks if the specified database exists.
|
IOFile |
dbpath()
Returns the current database path.
|
IOFile |
dbpath(String name)
Returns a reference to a file or database in the database directory.
|
String |
random(String db)
Returns a random temporary name for the specified database.
|
public static final Comment C_GENERAL
public static final BooleanOption DEBUG
public static final StringOption DBPATH
public static final StringOption REPOPATH
public static final StringOption LANG
public static final BooleanOption LANGKEYS
public static final BooleanOption GLOBALLOCK
public static final Comment C_CLIENT
public static final StringOption HOST
public static final NumberOption PORT
public static final NumberOption SERVERPORT
public static final NumberOption EVENTPORT
public static final StringOption USER
public static final StringOption PASSWORD
public static final StringOption SERVERHOST
public static final StringOption PROXYHOST
public static final NumberOption PROXYPORT
public static final StringOption NONPROXYHOSTS
public static final NumberOption TIMEOUT
public static final NumberOption KEEPALIVE
public static final NumberOption PARALLEL
public static final BooleanOption LOG
public static final NumberOption LOGMSGMAXLEN
public static final Comment C_HTTP
public static final StringOption WEBPATH
public static final StringOption RESTXQPATH
public static final BooleanOption HTTPLOCAL
public static final NumberOption STOPPORT
public static final EnumOption<StaticOptions.AuthMethod> AUTHMETHOD
public IOFile dbpath(String name)
name
- name of the file or databasepublic String random(String db)
db
- name of databasepublic IOFile dbpath()
public boolean dbexists(String db)
db
- name of the databaseCopyright © 2005–2015 BaseX Team. All rights reserved.