public class StaticHttpServiceSelector extends Object implements HttpServiceSelector
| Constructor and Description |
|---|
StaticHttpServiceSelector(Iterable<URI> uris) |
StaticHttpServiceSelector(String type,
Iterable<URI> uris) |
StaticHttpServiceSelector(String type,
String pool,
Iterable<URI> uris) |
StaticHttpServiceSelector(String type,
String pool,
URI uri,
URI... uris) |
StaticHttpServiceSelector(String type,
URI uri,
URI... uris) |
StaticHttpServiceSelector(URI uri,
URI... uris) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPool() |
String |
getType() |
List<URI> |
selectHttpService() |
String |
toString() |
public StaticHttpServiceSelector(String type, String pool, URI uri, URI... uris)
public String getType()
getType in interface HttpServiceSelectorpublic String getPool()
getPool in interface HttpServiceSelectorpublic List<URI> selectHttpService()
selectHttpService in interface HttpServiceSelectorCopyright © 2010–2021 Airlift. All rights reserved.