Interface HttpClient.Factory
-
- Enclosing interface:
- HttpClient
public static interface HttpClient.Factory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description HttpClient.Builder
newBuilder()
default HttpClient.Builder
newBuilder(Config config)
Create a builder that is customized by theConfig
.default int
priority()
The priority of the implementation.
-
-
-
Method Detail
-
newBuilder
default HttpClient.Builder newBuilder(Config config)
Create a builder that is customized by theConfig
. By default it will apply the common configurationHttpClientUtils.applyCommonConfiguration(Config, Builder, Factory)
- Parameters:
config
- the configuration to apply- Returns:
- the configured
HttpClient.Builder
-
newBuilder
HttpClient.Builder newBuilder()
-
priority
default int priority()
The priority of the implementation. The higher the priority the more likely it will be used.
-1 represents the priority of the Fabric8 project default implementation.- Returns:
- the priority.
-
-