Uses of Interface
org.miaixz.bus.http.plugin.httpv.CoverResult.Body
Packages that use CoverResult.Body
Package
Description
Provides the core implementation classes for the Httpv client, including task management, execution, data conversion,
and WebSocket support.
-
Uses of CoverResult.Body in org.miaixz.bus.http.plugin.httpv
Classes in org.miaixz.bus.http.plugin.httpv that implement CoverResult.BodyModifier and TypeClassDescriptionclassAn implementation ofCoverResult.Bodythat wraps an HTTPResponse.Methods in org.miaixz.bus.http.plugin.httpv that return CoverResult.BodyModifier and TypeMethodDescriptionCoverResult.Body.cache()Caches the response body in memory after the first read.ResultBody.cache()CoverResult.Body.close()Closes the response body without consuming it.ResultBody.close()CoverResult.getBody()Retrieves the response body handler.CoverResult.Real.getBody()CoverResult.Body.nextOnIO()Specifies that the next download-related callback should be executed on an I/O thread.ResultBody.nextOnIO()CoverResult.Body.setOnProcess(Callback<Progress> onProcess) Sets a progress callback for monitoring the download of the response body.ResultBody.setOnProcess(Callback<Progress> onProcess) CoverResult.Body.setRangeIgnored()Configures the progress callback to ignore the HTTP Range header, calculating progress from 0.ResultBody.setRangeIgnored()CoverResult.Body.stepBytes(long stepBytes) Sets the interval in bytes for progress callback invocations.ResultBody.stepBytes(long stepBytes) CoverResult.Body.stepRate(double stepRate) Sets the interval as a rate (percentage) for progress callback invocations.ResultBody.stepRate(double stepRate)