public class AffinityLabelHostsServiceImpl extends ServiceImpl implements AffinityLabelHostsService
AffinityLabelHostsService.AddRequest, AffinityLabelHostsService.AddResponse, AffinityLabelHostsService.ListRequest, AffinityLabelHostsService.ListResponse
Constructor and Description |
---|
AffinityLabelHostsServiceImpl(HttpConnection connection,
String path) |
Modifier and Type | Method and Description |
---|---|
AffinityLabelHostsService.AddRequest |
add()
Add a label to a host.
|
AffinityLabelHostService |
hostService(String id)
A link to the specific label-host assignment to
allow label removal.
|
AffinityLabelHostsService.ListRequest |
list()
List all hosts with the label.
|
Service |
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
|
String |
toString() |
checkAction, checkFault, getConnection, getPath, throwError
public AffinityLabelHostsServiceImpl(HttpConnection connection, String path)
public AffinityLabelHostsService.AddRequest add()
AffinityLabelHostsService
Add a label to a host.
add
in interface AffinityLabelHostsService
public AffinityLabelHostsService.ListRequest list()
AffinityLabelHostsService
List all hosts with the label.
list
in interface AffinityLabelHostsService
public AffinityLabelHostService hostService(String id)
AffinityLabelHostsService
A link to the specific label-host assignment to allow label removal.
hostService
in interface AffinityLabelHostsService
public Service service(String path)
AffinityLabelHostsService
Service locator method, returns individual service on which the URI is dispatched.
service
in interface AffinityLabelHostsService
Copyright © 2016. All rights reserved.