Uses of Class
org.miaixz.bus.http.Request.Builder
Packages that use Request.Builder
Package
Description
An HTTP client for Java applications.
Provides a fluent, builder-based API (Httpz) for making HTTP requests, simplifying interactions with the core
Httpd client.-
Uses of Request.Builder in org.miaixz.bus.http
Methods in org.miaixz.bus.http that return Request.BuilderModifier and TypeMethodDescriptionAdds a header, preserving any existing headers with the same name.Request.Builder.cacheControl(CacheControl cacheControl) Sets the cache control header.Request.Builder.delete()Sets this request to be a DELETE request with no request body.Request.Builder.delete(RequestBody body) Sets this request to be a DELETE request with a request body.Request.Builder.get()Sets this request to be a GET request.Request.Builder.head()Sets this request to be a HEAD request.Sets a header, replacing any existing headers with the same name.Sets all headers, replacing any existing headers.Request.Builder.method(String method, RequestBody body) Sets the HTTP method and request body.Request.newBuilder()Creates a new builder instance initialized with this request's properties.Request.Builder.patch(RequestBody body) Sets this request to be a PATCH request.Request.Builder.post(RequestBody body) Sets this request to be a POST request.Request.Builder.put(RequestBody body) Sets this request to be a PUT request.Request.Builder.removeHeader(String name) Removes all headers with the given name.<T> Request.BuilderAttaches a tag to this request using the specified type as the key.Attaches a tag to this request usingObject.classas the key.Sets the URL for this request from a string.Sets the URL for this request from aURLobject.Sets the URL for this request. -
Uses of Request.Builder in org.miaixz.bus.http.plugin.httpz
Fields in org.miaixz.bus.http.plugin.httpz declared as Request.BuilderModifier and TypeFieldDescriptionprotected Request.BuilderHttpRequest.builderThe builder for the final Httpd Request.