| Package | Description |
|---|---|
| com.linecorp.armeria.client.endpoint |
Endpoint groups and their registry. |
| Modifier and Type | Method and Description |
|---|---|
static PropertiesEndpointGroupBuilder |
PropertiesEndpointGroup.builder(ClassLoader classLoader,
String resourceName,
String endpointKeyPrefix)
Returns a new
PropertiesEndpointGroupBuilder created from the specified classpath resource. |
static PropertiesEndpointGroupBuilder |
PropertiesEndpointGroup.builder(Path path,
String endpointKeyPrefix)
Returns a new
PropertiesEndpointGroupBuilder created from the file at the specified
Path. |
static PropertiesEndpointGroupBuilder |
PropertiesEndpointGroup.builder(Properties properties,
String endpointKeyPrefix)
Returns a new
PropertiesEndpointGroupBuilder created from the specified Properties. |
PropertiesEndpointGroupBuilder |
PropertiesEndpointGroupBuilder.defaultPort(int defaultPort)
Sets the default port number which is used when parsing an
Endpoint without a port number. |
PropertiesEndpointGroupBuilder |
PropertiesEndpointGroupBuilder.selectionStrategy(EndpointSelectionStrategy selectionStrategy)
Sets the
EndpointSelectionStrategy of the PropertiesEndpointGroup being built. |
Copyright © 2020 LeanCloud. All rights reserved.