Package io.fluxcapacitor.javaclient.web
Class WebRequestSettings
java.lang.Object
io.fluxcapacitor.javaclient.web.WebRequestSettings
Configuration settings for a
WebRequest
sent via the WebRequestGateway
.
These settings influence how the request is processed and forwarded by the Flux proxy. While currently limited to a few essential fields, this class is designed for extensibility and may be expanded over time to support headers, retry policies, authentication strategies, and more.
Example usage:
WebRequestSettings settings = WebRequestSettings.builder()
.httpVersion(HttpVersion.HTTP_2)
.timeout(Duration.ofSeconds(30))
.consumer("google-traffic")
.build();
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WebRequestSettings
public WebRequestSettings()
-