Uses of Enum Class
com.soklet.SseConnection.TerminationReason
Packages that use SseConnection.TerminationReason
-
Uses of SseConnection.TerminationReason in com.soklet
Subclasses with type arguments of type SseConnection.TerminationReason in com.sokletModifier and TypeClassDescriptionstatic enumCategorizes why a Server-Sent Event connection terminated.Methods in com.soklet that return SseConnection.TerminationReasonModifier and TypeMethodDescriptionMetricsCollector.SseEventRouteTerminationKey.terminationReason()Returns the value of theterminationReasonrecord component.Returns the enum constant of this class with the specified name.static SseConnection.TerminationReason[]SseConnection.TerminationReason.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.soklet with parameters of type SseConnection.TerminationReasonModifier and TypeMethodDescriptiondefault voidLifecycleObserver.didTerminateSseConnection(@NonNull SseConnection sseConnection, @NonNull Duration connectionDuration, @NonNull SseConnection.TerminationReason terminationReason, @Nullable Throwable throwable) Called after an SSE connection is terminated.default voidMetricsCollector.didTerminateSseConnection(@NonNull SseConnection sseConnection, @NonNull Duration connectionDuration, @NonNull SseConnection.TerminationReason terminationReason, @Nullable Throwable throwable) Called after an SSE connection is terminated.default voidLifecycleObserver.willTerminateSseConnection(@NonNull SseConnection sseConnection, @NonNull SseConnection.TerminationReason terminationReason, @Nullable Throwable throwable) Called before an SSE connection is terminated.default voidMetricsCollector.willTerminateSseConnection(@NonNull SseConnection sseConnection, @NonNull SseConnection.TerminationReason terminationReason, @Nullable Throwable throwable) Called before an SSE connection is terminated.Constructors in com.soklet with parameters of type SseConnection.TerminationReasonModifierConstructorDescriptionSseEventRouteTerminationKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull SseConnection.TerminationReason terminationReason) Creates an instance of aSseEventRouteTerminationKeyrecord class.