| Package | Description |
|---|---|
| com.linecorp.armeria.client.endpoint |
Endpoint groups and their registry. |
| Modifier and Type | Method and Description |
|---|---|
static PropertiesEndpointGroup |
PropertiesEndpointGroup.of(ClassLoader classLoader,
String resourceName,
String endpointKeyPrefix)
Creates a new
EndpointGroup instance that loads the host names (or IP address) and the port
numbers of the Endpoint from the resourceName resource file. |
static PropertiesEndpointGroup |
PropertiesEndpointGroup.of(ClassLoader classLoader,
String resourceName,
String endpointKeyPrefix,
int defaultPort)
Creates a new
EndpointGroup instance that loads the host names (or IP address) and the port
numbers of the Endpoint from the resourceName resource file. |
static PropertiesEndpointGroup |
PropertiesEndpointGroup.of(Path path,
String endpointKeyPrefix)
Creates a new
EndpointGroup instance that loads the host names (or IP address) and the port
numbers of the Endpoint from the path of a resource file. |
static PropertiesEndpointGroup |
PropertiesEndpointGroup.of(Path path,
String endpointKeyPrefix,
int defaultPort)
Creates a new
EndpointGroup instance that loads the host names (or IP address) and the port
numbers of the Endpoint from the path of a resource file. |
static PropertiesEndpointGroup |
PropertiesEndpointGroup.of(Properties properties,
String endpointKeyPrefix)
Creates a new
EndpointGroup instance that loads the host names (or IP address) and the port
numbers of the Endpoint from the Properties. |
static PropertiesEndpointGroup |
PropertiesEndpointGroup.of(Properties properties,
String endpointKeyPrefix,
int defaultPort)
Creates a new
EndpointGroup instance that loads the host names (or IP address) and the port
numbers of the Endpoint from the Properties. |
Copyright © 2020 LeanCloud. All rights reserved.