Package com.stackone.stackone_client_java.utils
-
Interface Summary Interface Description Exceptions.CheckedConsumer<T> Exceptions.CheckedFunction<T,R> Exceptions.CheckedRunnable Exceptions.CheckedSupplier<T> HasSecurity Implemented by classes that have security annotations on fields.Hook.AfterError Specifies what happens if a request action throws an Exception.Hook.AfterErrorContext Context for an AfterError hook call.Hook.AfterSuccess Specifies how a response is transformed before response processing.Hook.AfterSuccessContext Context for an AfterSuccess hook call.Hook.BeforeRequest Specifies how a request is transformed before sending.Hook.BeforeRequestContext Context for a BeforeRequest hook call.Hook.HookContext Context for a hook call.Hook.SdkInit Transforms the HTTPClient before use.HTTPClient Response SessionManager.HasSessionKey Utils.Function<S,T> -
Class Summary Class Description BackoffStrategy Exponential Backoff Strategy with Jitter The duration between consecutive attempts is calculated as follows: intervalMs = min(maxIntervalMs, initialIntervalMs*(baseFactor^attempts) +/- r) where baseFactor is the base factor and r a random value between 0 and jitterFactor*intervalMs.BackoffStrategy.Builder BigDecimalString BigDecimalString.Deserializer BigDecimalString.Serializer BigIntegerString BigIntegerString.Deserializer BigIntegerString.Serializer BlockingParser<T> Blocking parser that reads from a Reader and delegates to a StreamingParser.Constants CopiableInputStream Deserializers EventStream<T> Manages the parsing of an InputStream in SSE (Server Sent Events) format.EventStreamMessage Exceptions Globals Helpers Public helper methods for use by customers and end-users.Hook Holder class for hook-associated types.Hook.AfterErrorContextImpl Hook.AfterSuccessContextImpl Hook.BeforeRequestContextImpl Hook.IdempotencyHook Hook.SdkInitData Hooks Registers hooks for use at runtime by an end-user or for use by a customer that may edit the SDKHooks.java file.HTTPRequest JSON LazySingletonValue<T> Multipart Multipart.Builder OneOfDeserializer<T> Options Options.Builder QueryParameter QueryParameters RecordingClient Reflections RequestBody ResponseWithBody<R,B> A wrapper forHttpResponsethat allows mappi ng the response body from typeRto typeB.Retries Retries.Builder RetryConfig RetryConfig.Builder Security SerializedBody SessionManager<T extends SessionManager.HasSessionKey> SessionManager.Session<T> SpeakeasyHTTPClient StreamingParser<T> Generic streaming parser that handles byte buffer management and delegates format-specific logic to a StreamContentProcessor.TypedObject TypedObject.Serializer Utf8UrlEncoder Utils Utils.HttpResponseCached Utils.TypeReferenceWithShape -
Enum Summary Enum Description Multipart.PartType Options.Option RetryConfig.Strategy Types Utils.JsonShape -
Exception Summary Exception Description Hooks.FailEarlyException Retries.NonRetryableException Retries.RetryableException -
Annotation Types Summary Annotation Type Description SpeakeasyMetadata