Uses of Interface
org.miaixz.bus.http.plugin.httpv.CoverResult
Packages that use CoverResult
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 in org.miaixz.bus.http
Methods in org.miaixz.bus.http that return types with arguments of type CoverResultMethod parameters in org.miaixz.bus.http with type arguments of type CoverResultModifier and TypeMethodDescriptionHttpv.Builder.responseListener(CoverTasks.Listener<CoverResult> listener) Sets a global listener for successful responses. -
Uses of CoverResult in org.miaixz.bus.http.plugin.httpv
Classes in org.miaixz.bus.http.plugin.httpv that implement CoverResultMethods in org.miaixz.bus.http.plugin.httpv that return CoverResultModifier and TypeMethodDescriptionCoverResult.close()Closes the underlying response.CoverResult.Real.close()CoverHttp.Sync.delete()Executes a DELETE request (REST: delete a resource, idempotent).CoverHttp.Sync.get()Executes a GET request (REST: retrieve a resource, idempotent).GiveCall.getResult()Waits if necessary for the computation to complete, and then retrieves its result.CoverHttp.Sync.head()Executes a HEAD request (REST: retrieve resource headers, idempotent).static CoverResultCreates aCoverResultfrom a rawResponse.static CoverResultCoverResult.of(Response response, CoverTasks.Executor executor) Creates a fully functionalCoverResultfrom a rawResponseand a task executor.CoverHttp.Sync.patch()Executes a PATCH request (REST: partially update a resource, idempotent).CoverHttp.Sync.post()Executes a POST request (REST: create a resource, not idempotent).CoverHttp.Sync.put()Executes a PUT request (REST: update/replace a resource, idempotent).Executes an HTTP request with the specified method.protected CoverResultCoverHttp.timeoutResult()Creates a result object for a timeout event.Methods in org.miaixz.bus.http.plugin.httpv that return types with arguments of type CoverResultMethods in org.miaixz.bus.http.plugin.httpv with parameters of type CoverResultModifier and TypeMethodDescriptionvoidCoverTasks.Executor.executeOnResponse(CoverHttp<?> task, Callback<CoverResult> onResponse, CoverResult result, boolean onIo) Executes the response callback for a task, respecting the global response listener.Method parameters in org.miaixz.bus.http.plugin.httpv with type arguments of type CoverResultModifier and TypeMethodDescriptionvoidCoverTasks.Executor.executeOnResponse(CoverHttp<?> task, Callback<CoverResult> onResponse, CoverResult result, boolean onIo) Executes the response callback for a task, respecting the global response listener.CoverCall.Client.setOnOpen(CoverCall.Register<CoverResult> onOpen) Sets the open connection listener.CoverHttp.Async.setOnResponse(Callback<CoverResult> onResponse) Sets the callback for a successful HTTP response.Constructor parameters in org.miaixz.bus.http.plugin.httpv with type arguments of type CoverResultModifierConstructorDescriptionExecutor(Executor ioExecutor, Executor mainExecutor, Downloads.Listener downloadListener, CoverTasks.Listener<CoverResult> responseListener, CoverTasks.Listener<IOException> exceptionListener, CoverTasks.Listener<CoverResult.State> completeListener, Convertor[] convertors) Constructs a new Executor.