public interface HostsService extends Service
Modifier and Type | Interface and Description |
---|---|
static interface |
HostsService.AddRequest
Creates a new host and adds it to the database.
|
static interface |
HostsService.AddResponse
Creates a new host and adds it to the database.
|
static interface |
HostsService.ListRequest |
static interface |
HostsService.ListResponse |
Modifier and Type | Method and Description |
---|---|
HostsService.AddRequest |
add()
Creates a new host and adds it to the database.
|
HostService |
hostService(String id) |
HostsService.ListRequest |
list() |
Service |
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
|
HostsService.AddRequest add()
Creates a new host and adds it to the database. The host is created based on the properties of the host
parameter. The name
, address
rootPassword
properties are required.
HostsService.ListRequest list()
HostService hostService(String id)
Copyright © 2016. All rights reserved.