@FunctionalInterface
public static interface HttpProviders.MultiAddressHttpClientBuilderProvider
MultiAddressHttpClientBuilder.| Modifier and Type | Method and Description |
|---|---|
<U,R> MultiAddressHttpClientBuilder<U,R> |
newBuilder(MultiAddressHttpClientBuilder<U,R> builder)
Deprecated.
Use
newBuilder(String, MultiAddressHttpClientBuilder). To avoid breaking changes, all
current implementations must implement both methods. In the next version the default implementation will
swap. Then users will be able to keep implementation only for the new method. In the release after, the
deprecated method will be removed. |
default <U,R> MultiAddressHttpClientBuilder<U,R> |
newBuilder(String id,
MultiAddressHttpClientBuilder<U,R> builder)
Returns a
MultiAddressHttpClientBuilder based on the pre-initialized
MultiAddressHttpClientBuilder. |
@Deprecated <U,R> MultiAddressHttpClientBuilder<U,R> newBuilder(MultiAddressHttpClientBuilder<U,R> builder)
newBuilder(String, MultiAddressHttpClientBuilder). To avoid breaking changes, all
current implementations must implement both methods. In the next version the default implementation will
swap. Then users will be able to keep implementation only for the new method. In the release after, the
deprecated method will be removed.MultiAddressHttpClientBuilder based on the pre-initialized
MultiAddressHttpClientBuilder.
This method may return the pre-initialized builder as-is, or apply custom builder settings before
returning it, or wrap it (DelegatingMultiAddressHttpClientBuilder may be helpful).
U - the type of address before resolution (unresolved address)R - the type of address after resolution (resolved address)builder - pre-initialized MultiAddressHttpClientBuilderMultiAddressHttpClientBuilder based on the pre-initialized
MultiAddressHttpClientBuilder.DelegatingMultiAddressHttpClientBuilderdefault <U,R> MultiAddressHttpClientBuilder<U,R> newBuilder(String id, MultiAddressHttpClientBuilder<U,R> builder)
MultiAddressHttpClientBuilder based on the pre-initialized
MultiAddressHttpClientBuilder.
This method may return the pre-initialized builder as-is, or apply custom builder settings before
returning it, or wrap it (DelegatingMultiAddressHttpClientBuilder may be helpful).
U - the type of address before resolution (unresolved address)R - the type of address after resolution (resolved address)id - identification of the builderbuilder - pre-initialized MultiAddressHttpClientBuilderMultiAddressHttpClientBuilder based on the pre-initialized
MultiAddressHttpClientBuilder.DelegatingMultiAddressHttpClientBuilder