public class DicoogleWeb extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONTEXTPATH
Sets the context path used to serve the contents.
|
static java.lang.String |
WEBAPPDIR
Sets the path where the web-pages/scripts or .war are.
|
Constructor and Description |
---|
DicoogleWeb(int port)
Initializes and starts the Dicoogle Web service.
|
Modifier and Type | Method and Description |
---|---|
void |
addContextHandlers(HandlerList handler) |
void |
stop()
Stops the Dicoogle Web service.
|
void |
stopLegacyWebServices() |
void |
stopPluginWebServices() |
public static final java.lang.String WEBAPPDIR
public static final java.lang.String CONTEXTPATH
public DicoogleWeb(int port) throws java.lang.Exception
port
- the server portjava.lang.Exception
public void stop() throws java.lang.Exception
java.lang.Exception
- if a problem occurs when stopping the serverpublic void addContextHandlers(HandlerList handler)
public void stopPluginWebServices()
public void stopLegacyWebServices()