Uses of Enum Class
org.miaixz.bus.http.plugin.httpv.CoverResult.State
Packages that use CoverResult.State
Package
Description
An HTTP client for Java applications.
Provides the core implementation classes for the Httpv client, including task management, execution, data conversion,
and WebSocket support.
-
Uses of CoverResult.State in org.miaixz.bus.http
Methods in org.miaixz.bus.http that return types with arguments of type CoverResult.StateMethod parameters in org.miaixz.bus.http with type arguments of type CoverResult.StateModifier and TypeMethodDescriptionHttpv.Builder.completeListener(CoverTasks.Listener<CoverResult.State> listener) Sets a global listener for when a request is completed (either successfully or with an error). -
Uses of CoverResult.State in org.miaixz.bus.http.plugin.httpv
Methods in org.miaixz.bus.http.plugin.httpv that return CoverResult.StateModifier and TypeMethodDescriptionCoverResult.getState()Retrieves the final state of the HTTP execution.CoverResult.Real.getState()CoverHttp.toState(IOException e) Converts an IOException into a CoverResult.State.static CoverResult.StateReturns the enum constant of this class with the specified name.static CoverResult.State[]CoverResult.State.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.miaixz.bus.http.plugin.httpv that return types with arguments of type CoverResult.StateMethods in org.miaixz.bus.http.plugin.httpv with parameters of type CoverResult.StateModifier and TypeMethodDescriptionvoidCoverResult.Real.exception(CoverResult.State state, IOException error) Sets the result to a failure state.voidCoverTasks.Executor.executeOnComplete(CoverHttp<?> task, Callback<CoverResult.State> onComplete, CoverResult.State state, boolean onIo) Executes the completion callback for a task, respecting the global completion listener.Method parameters in org.miaixz.bus.http.plugin.httpv with type arguments of type CoverResult.StateModifier and TypeMethodDescriptionvoidCoverTasks.Executor.executeOnComplete(CoverHttp<?> task, Callback<CoverResult.State> onComplete, CoverResult.State state, boolean onIo) Executes the completion callback for a task, respecting the global completion listener.CoverHttp.Async.setOnComplete(Callback<CoverResult.State> onComplete) Sets the callback for when the request is complete (will be called in all cases).Constructors in org.miaixz.bus.http.plugin.httpv with parameters of type CoverResult.StateModifierConstructorDescriptionReal(CoverHttp<?> coverHttp, CoverResult.State state) Constructs a result with a final state (e.g., CANCELED).Real(CoverHttp<?> coverHttp, CoverResult.State state, IOException error) Constructs a result from a failure.