public final class ServiceConfig extends Object
| Constructor and Description |
|---|
ServiceConfig(Reader configReader) |
| Modifier and Type | Method and Description |
|---|---|
ApiTemplate |
getService(String templateName)
Get service template by name.
|
int |
size()
Get number of services.
|
boolean |
validEndpoint(String endpointHost)
Check if endpoint is allowed.
|
public ServiceConfig(Reader configReader) throws IOException
IOExceptionpublic ApiTemplate getService(String templateName)
templateName - public boolean validEndpoint(String endpointHost)
endpointHost - public int size()
Copyright © 2017. All rights reserved.