Interface ConnectionInterceptor
- All Known Implementing Classes:
ConnectionInterceptor.CompositeConnectionInterceptor,MetricsConnectionInterceptor,TracesConnectionInterceptor
public sealed interface ConnectionInterceptor
permits TracesConnectionInterceptor, ConnectionInterceptor.CompositeConnectionInterceptor, MetricsConnectionInterceptor
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidconnectionOpeningFailed(Throwable cause) Way to pass a context betweenConnectionInterceptorand telemetry endpoint decorators.
-
Method Details
-
connectionOpened
void connectionOpened() -
connectionOpeningFailed
-
getContextData
Way to pass a context betweenConnectionInterceptorand telemetry endpoint decorators.- Returns:
- unmodifiable map passed to decorators as
TelemetryWebSocketEndpointContext.contextData()
-