ContextKeys
Standard keys for FlippingExecutionContext parameters.
These constants provide consistent, type-safe key names for commonly used context parameters. Using these keys instead of raw strings helps prevent typos and enables IDE auto-completion.
Example usage:
val context = FlippingExecutionContext(
ContextKeys.USER_ID to "user-123",
ContextKeys.REGION to "EU"
)
val userId = context.get<String>(ContextKeys.USER_ID)Content copied to clipboard
See also
Properties
Link copied to clipboard
Key for the client hostname making the request. Used by ClientFilterStrategy for client-based feature filtering.
Link copied to clipboard
Key for the application environment (e.g., "production", "staging", "development"). Useful for environment-specific feature toggles.
Link copied to clipboard
Key for the server hostname handling the request. Used by ServerFilterStrategy for server-based feature filtering, useful for canary deployments or instance-specific features.