Uses of Class
org.miaixz.bus.http.plugin.httpv.CoverHttp
Packages that use CoverHttp
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 CoverHttp in org.miaixz.bus.http
Methods in org.miaixz.bus.http with parameters of type CoverHttpModifier and TypeMethodDescriptionHttpv.addTagTask(String tag, Cancelable canceler, CoverHttp<?> task) Adds a new tagged task to the list of ongoing tasks.voidHttpv.preprocess(CoverHttp<? extends CoverHttp<?>> coverHttp, Runnable request, boolean skipPreproc, boolean skipSerialPreproc) Executes the pre-processing chain for a given request.voidHttpv.removeTagTask(CoverHttp<?> task) Removes a tagged task from the list of ongoing tasks.Method parameters in org.miaixz.bus.http with type arguments of type CoverHttpModifier and TypeMethodDescriptionvoidHttpv.preprocess(CoverHttp<? extends CoverHttp<?>> coverHttp, Runnable request, boolean skipPreproc, boolean skipSerialPreproc) Executes the pre-processing chain for a given request. -
Uses of CoverHttp in org.miaixz.bus.http.plugin.httpv
Classes in org.miaixz.bus.http.plugin.httpv with type parameters of type CoverHttpModifier and TypeClassDescriptionclassAn abstract base class for building HTTP requests, providing a fluent interface.Subclasses of CoverHttp in org.miaixz.bus.http.plugin.httpvModifier and TypeClassDescriptionstatic classA client for creating and configuring WebSocket connections.static classA builder for asynchronous HTTP requests.static classA builder for synchronous HTTP requests.Methods in org.miaixz.bus.http.plugin.httpv that return CoverHttpModifier and TypeMethodDescriptionCoverHttp<?> Preprocessor.PreChain.getTask()Gets the current HTTP task being processed.Methods in org.miaixz.bus.http.plugin.httpv with parameters of type CoverHttpModifier and TypeMethodDescriptionCoverTasks.Executor.download(CoverHttp<?> coverHttp, File file, InputStream input, long skipBytes) Creates a new download task handler.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.booleanCoverTasks.Executor.executeOnException(CoverHttp<?> task, Callback<IOException> onException, IOException error, boolean onIo) Executes the exception callback for a task, respecting the global exception listener.voidCoverTasks.Executor.executeOnResponse(CoverHttp<?> task, Callback<CoverResult> onResponse, CoverResult result, boolean onIo) Executes the response callback for a task, respecting the global response listener.booleanA global listener method that is called when a specific task event occurs.voidListens for the creation of a new download task.Constructors in org.miaixz.bus.http.plugin.httpv with parameters of type CoverHttpModifierConstructorDescriptionReal(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.Real(CoverHttp<?> coverHttp, CoverTasks.Executor executor) Constructs a result with an executor, to be populated later.Real(CoverHttp<?> coverHttp, Response response, CoverTasks.Executor executor) Constructs a result from a successful response.ResultBody(CoverHttp<?> coverHttp, Response response, CoverTasks.Executor executor) Constructs a new ResultBody.