public final class RestServiceInitializer extends Object
Modifier and Type | Field and Description |
---|---|
static Collection<AbstractRestDbHandler> |
handlers
The list of all
AbstractRestDbHandler used by the API. |
Modifier and Type | Method and Description |
---|---|
static void |
initRestService(RestConfiguration config)
Initializes the RESTv2 service with the given
RestConfiguration . |
static void |
stopRestService()
Stops the REST service.
|
public static final Collection<AbstractRestDbHandler> handlers
AbstractRestDbHandler
used by the API.public static void initRestService(RestConfiguration config)
RestConfiguration
.config
- The REST API configuration object.public static void stopRestService()
Copyright © 2009–2020 Waarp. All rights reserved.