Uses of Class
org.miaixz.bus.http.Httpv.Builder
Packages that use Httpv.Builder
-
Uses of Httpv.Builder in org.miaixz.bus.http
Methods in org.miaixz.bus.http that return Httpv.BuilderModifier and TypeMethodDescriptionHttpv.Builder.addMsgConvertor(Convertor convertor) Adds a message converter for handling different response formats.Httpv.Builder.addPreprocessor(Preprocessor preprocessor) Adds a preprocessor that can run in parallel with other preprocessors.Httpv.Builder.addSerialPreprocessor(Preprocessor preprocessor) Adds a preprocessor that will be executed serially.Sets the base URL for all requests.Sets the default body type for requests.static Httpv.BuilderHttpv.builder()Creates a new builder for constructing anHttpvinstance.Httpv.Builder.callbackExecutor(Executor executor) Sets the executor for callbacks, allowing thread switching for asynchronous requests.Sets the default charset for request bodies.Httpv.Builder.completeListener(CoverTasks.Listener<CoverResult.State> listener) Sets a global listener for when a request is completed (either successfully or with an error).Httpv.Builder.config(Httpv.HttpvConfig config) Sets a configurer for the underlyingHttpd.Builder.Httpv.Builder.downloadListener(Downloads.Listener listener) Sets a listener for download progress.Httpv.Builder.exceptionListener(CoverTasks.Listener<IOException> listener) Sets a global listener for exceptions.Httpv.Builder.mediaTypes(String key, String value) Adds a single media type mapping.Httpv.Builder.mediaTypes(Map<String, String> mediaTypes) Adds multiple media type mappings.Httpv.newBuilder()Creates a new builder initialized with the configuration of thisHttpvinstance.Httpv.Builder.preprocTimeoutTimes(int times) Sets the maximum pre-processing time multiplier relative to the normal request timeout.Httpv.Builder.responseListener(CoverTasks.Listener<CoverResult> listener) Sets a global listener for successful responses.Constructors in org.miaixz.bus.http with parameters of type Httpv.BuilderModifierConstructorDescriptionHttpv(Httpv.Builder builder) Constructs anHttpvinstance with the configuration from the given builder.