Interface HttpClientWarmer
- All Known Implementing Classes:
AsyncHttpClientWarmer,SyncHttpClientWarmer
Warms the sync or async HTTP clients on the classpath for CRaC warm-up.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidwarmAll()Warms every HTTP client found on the classpath.static StringBuilds theUser-Agentheader value for warm-up requests: the system user agent (SDK version, Java version, OS, etc.) plus theWARM_UP_FEATURE_IDfeature marker.
-
Field Details
-
HEADER_USER_AGENT
- See Also:
-
WARM_UP_FEATURE_ID
- See Also:
-
-
Method Details
-
warmAll
void warmAll()Warms every HTTP client found on the classpath. Best-effort; never throws. -
warmUpUserAgent
Builds theUser-Agentheader value for warm-up requests: the system user agent (SDK version, Java version, OS, etc.) plus theWARM_UP_FEATURE_IDfeature marker.
-