Uses of Enum Class
com.soklet.StreamTerminationReason
Packages that use StreamTerminationReason
-
Uses of StreamTerminationReason in com.soklet
Subclasses with type arguments of type StreamTerminationReason in com.sokletModifier and TypeClassDescriptionenumReasons why a streaming HTTP response, Server-Sent Event connection, or MCP SSE stream may terminate.Methods in com.soklet that return StreamTerminationReasonModifier and TypeMethodDescriptionStreamingResponseCanceledException.getCancelationReason()The cancelation reason.StreamTermination.getReason()Why the stream terminated.MetricsCollector.McpEndpointSseStreamTerminationKey.terminationReason()Returns the value of theterminationReasonrecord component.MetricsCollector.SseStreamRouteTerminationKey.terminationReason()Returns the value of theterminationReasonrecord component.static StreamTerminationReasonReturns the enum constant of this class with the specified name.static StreamTerminationReason[]StreamTerminationReason.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.soklet that return types with arguments of type StreamTerminationReasonModifier and TypeMethodDescriptionCancelationToken.getCancelationReason()The cancelation reason, if cancelation has occurred.default @NonNull Optional<StreamTerminationReason> StreamingResponseContext.getCancelationReason()The cancelation reason, if canceled.Methods in com.soklet with parameters of type StreamTerminationReasonModifier and TypeMethodDescriptionStreamTermination.Builder.reason(@NonNull StreamTerminationReason reason) Specifies why the stream terminated.StreamTermination.Copier.reason(@NonNull StreamTerminationReason reason) StreamTermination.with(@NonNull StreamTerminationReason reason, @NonNull Duration duration) Acquires a builder forStreamTerminationinstances.Constructors in com.soklet with parameters of type StreamTerminationReasonModifierConstructorDescriptionMcpEndpointSseStreamTerminationKey(@NonNull Class<? extends McpEndpoint> endpointClass, @NonNull StreamTerminationReason terminationReason) Creates an instance of aMcpEndpointSseStreamTerminationKeyrecord class.SseStreamRouteTerminationKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull StreamTerminationReason terminationReason) Creates an instance of aSseStreamRouteTerminationKeyrecord class.StreamingResponseCanceledException(@NonNull StreamTerminationReason cancelationReason) Creates an exception with the given cancelation reason.StreamingResponseCanceledException(@NonNull StreamTerminationReason cancelationReason, @Nullable Throwable cancelationCause) Creates an exception with the given cancelation reason and cause.