public class InProcessServerControls extends Object implements ServerControls
| Constructor and Description |
|---|
InProcessServerControls(File serverFolder,
org.neo4j.server.AbstractNeoServer server,
org.neo4j.kernel.lifecycle.Lifecycle additionalLifeToManage) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Stop the test instance and delete all files related to it on disk.
|
URI |
httpsURI()
Returns ths URI to the root resource of the instance using the https protocol.
|
URI |
httpURI()
Returns the URI to the root resource of the instance.
|
void |
start() |
public InProcessServerControls(File serverFolder, org.neo4j.server.AbstractNeoServer server, org.neo4j.kernel.lifecycle.Lifecycle additionalLifeToManage)
public URI httpURI()
ServerControlshttpURI in interface ServerControlspublic URI httpsURI()
ServerControlshttpsURI in interface ServerControlspublic void start()
public void close()
ServerControlsclose in interface AutoCloseableclose in interface ServerControlsCopyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.