public static class Bootstrapper.RESTServer extends Object
| Constructor and Description |
|---|
RESTServer(Properties properties)
Construct the REST server specification based on properties.
|
RESTServer(String database,
String modulesDatabase,
String group,
String server,
int port)
Construct the REST server specification programmatically.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDatabase() |
String |
getGroup() |
String |
getModulesDatabase() |
int |
getPort() |
String |
getServer() |
String |
toXMLString() |
public RESTServer(Properties properties)
properties - specifies the REST serverpublic RESTServer(String database, String modulesDatabase, String group, String server, int port)
database - the database exposed by the REST servermodulesDatabase - the modules database for the REST servergroup - the group containing the REST serverserver - the name of the REST serverport - the port for the REST serverpublic String getDatabase()
public String getModulesDatabase()
public String getGroup()
public String getServer()
public int getPort()
public String toXMLString() throws XMLStreamException, FactoryConfigurationError
Copyright © 2013-2016 MarkLogic Corporation.