Uses of Enum Class
com.soklet.ServerSentEventConnection.TerminationReason
Packages that use ServerSentEventConnection.TerminationReason
-
Uses of ServerSentEventConnection.TerminationReason in com.soklet
Subclasses with type arguments of type ServerSentEventConnection.TerminationReason in com.sokletModifier and TypeClassDescriptionstatic enumCategorizes why a Server-Sent Event connection terminated.Methods in com.soklet that return ServerSentEventConnection.TerminationReasonModifier and TypeMethodDescriptionMetricsCollector.ServerSentEventRouteTerminationKey.terminationReason()Returns the value of theterminationReasonrecord component.Returns the enum constant of this class with the specified name.ServerSentEventConnection.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 ServerSentEventConnection.TerminationReasonModifier and TypeMethodDescriptiondefault voidLifecycleObserver.didTerminateServerSentEventConnection(@NonNull ServerSentEventConnection serverSentEventConnection, @NonNull Duration connectionDuration, @NonNull ServerSentEventConnection.TerminationReason terminationReason, @Nullable Throwable throwable) Called after an SSE connection is terminated.default voidMetricsCollector.didTerminateServerSentEventConnection(@NonNull ServerSentEventConnection serverSentEventConnection, @NonNull Duration connectionDuration, @NonNull ServerSentEventConnection.TerminationReason terminationReason, @Nullable Throwable throwable) Called after an SSE connection is terminated.default voidLifecycleObserver.willTerminateServerSentEventConnection(@NonNull ServerSentEventConnection serverSentEventConnection, @NonNull ServerSentEventConnection.TerminationReason terminationReason, @Nullable Throwable throwable) Called before an SSE connection is terminated.default voidMetricsCollector.willTerminateServerSentEventConnection(@NonNull ServerSentEventConnection serverSentEventConnection, @NonNull ServerSentEventConnection.TerminationReason terminationReason, @Nullable Throwable throwable) Called before an SSE connection is terminated.Constructors in com.soklet with parameters of type ServerSentEventConnection.TerminationReasonModifierConstructorDescriptionServerSentEventRouteTerminationKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull ServerSentEventConnection.TerminationReason terminationReason) Creates an instance of aServerSentEventRouteTerminationKeyrecord class.