Class PropertiesEndpointGroupBuilder
java.lang.Object
com.linecorp.armeria.client.endpoint.PropertiesEndpointGroupBuilder
public final class PropertiesEndpointGroupBuilder extends Object
Builds a
PropertiesEndpointGroup
.-
Method Summary
Modifier and Type Method Description PropertiesEndpointGroup
build()
Returns a newPropertiesEndpointGroup
built from the properties set so far.PropertiesEndpointGroupBuilder
defaultPort(int defaultPort)
Sets the default port number which is used when parsing anEndpoint
without a port number.PropertiesEndpointGroupBuilder
selectionStrategy(EndpointSelectionStrategy selectionStrategy)
Sets theEndpointSelectionStrategy
of thePropertiesEndpointGroup
being built.
-
Method Details
-
defaultPort
Sets the default port number which is used when parsing anEndpoint
without a port number. -
selectionStrategy
public PropertiesEndpointGroupBuilder selectionStrategy(EndpointSelectionStrategy selectionStrategy)Sets theEndpointSelectionStrategy
of thePropertiesEndpointGroup
being built. -
build
Returns a newPropertiesEndpointGroup
built from the properties set so far.
-