public static class Bootstrapper.RESTServer
extends java.lang.Object
Constructor | Description |
---|---|
RESTServer(java.lang.String database,
java.lang.String modulesDatabase, java.lang.String group,
java.lang.String server, int port) |
Construct the REST server specification
programmatically.
|
RESTServer(java.util.Properties properties) |
Construct the REST server specification based on
properties.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getDatabase() |
|
java.lang.String |
getGroup() |
|
java.lang.String |
getModulesDatabase() |
|
int |
getPort() |
|
java.lang.String |
getServer() |
|
java.lang.String |
toXMLString() |
public RESTServer(java.util.Properties properties)
properties
- specifies the REST serverpublic RESTServer(java.lang.String database, java.lang.String modulesDatabase, java.lang.String group, java.lang.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 java.lang.String getDatabase()
public java.lang.String getModulesDatabase()
public java.lang.String getGroup()
public java.lang.String getServer()
public int getPort()
public java.lang.String toXMLString() throws javax.xml.stream.XMLStreamException, javax.xml.stream.FactoryConfigurationError
javax.xml.stream.XMLStreamException
javax.xml.stream.FactoryConfigurationError
Copyright © 2022 MarkLogic Corporation