Class ConnectionInterceptor.CompositeConnectionInterceptor
java.lang.Object
io.quarkus.websockets.next.runtime.telemetry.ConnectionInterceptor.CompositeConnectionInterceptor
- All Implemented Interfaces:
ConnectionInterceptor
- Enclosing interface:
ConnectionInterceptor
public static final class ConnectionInterceptor.CompositeConnectionInterceptor
extends Object
implements ConnectionInterceptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.websockets.next.runtime.telemetry.ConnectionInterceptor
ConnectionInterceptor.CompositeConnectionInterceptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidconnectionOpeningFailed(Throwable cause) Way to pass a context betweenConnectionInterceptorand telemetry endpoint decorators.
-
Constructor Details
-
CompositeConnectionInterceptor
CompositeConnectionInterceptor(List<ConnectionInterceptor> leaves)
-
-
Method Details
-
connectionOpened
public void connectionOpened()- Specified by:
connectionOpenedin interfaceConnectionInterceptor
-
connectionOpeningFailed
- Specified by:
connectionOpeningFailedin interfaceConnectionInterceptor
-
getContextData
Description copied from interface:ConnectionInterceptorWay to pass a context betweenConnectionInterceptorand telemetry endpoint decorators.- Specified by:
getContextDatain interfaceConnectionInterceptor- Returns:
- unmodifiable map passed to decorators as
TelemetryWebSocketEndpointContext.contextData()
-