public final class TrafficContextHolder extends Object
| Constructor and Description |
|---|
TrafficContextHolder() |
| Modifier and Type | Method and Description |
|---|---|
static Optional<TrafficContext> |
get()
Get traffic context.
|
static void |
remove()
Remove traffic context.
|
static void |
set(TrafficContext trafficContext)
Set traffic context.
|
public static void set(TrafficContext trafficContext)
trafficContext - traffic contextpublic static Optional<TrafficContext> get()
public static void remove()
Copyright © 2022 The Apache Software Foundation. All rights reserved.