Uses of Class
org.miaixz.bus.http.Response.Builder
Packages that use Response.Builder
Package
Description
An HTTP client for Java applications.
Provides internal implementation details for the HTTP client, including connection management, streams, and routing.
Provides internal metrics and standards for the HTTP client.
Provides the internal implementation of the HTTP/1.1 and HTTP/2 protocols.
-
Uses of Response.Builder in org.miaixz.bus.http
Methods in org.miaixz.bus.http that return Response.BuilderModifier and TypeMethodDescriptionAdds a header, preserving any existing headers with the same name.Response.Builder.body(ResponseBody body) Sets the response body.Response.Builder.cacheResponse(Response cacheResponse) Sets the cache response.Response.Builder.code(int code) Sets the HTTP status code.Sets the TLS handshake information.Sets a header, replacing any existing headers with the same name.Sets all headers, replacing any existing headers.Sets the HTTP status message.Response.Builder.networkResponse(Response networkResponse) Sets the network response.Response.newBuilder()Creates a new builder instance initialized with this response's properties.Response.Builder.priorResponse(Response priorResponse) Sets the prior response.Response.Builder.protocol(org.miaixz.bus.core.net.Protocol protocol) Sets the protocol used.Response.Builder.receivedResponseAtMillis(long receivedResponseAtMillis) Sets the timestamp when the response headers were received.Response.Builder.removeHeader(String name) Removes all headers with the given name.Sets the request that initiated this response.Response.Builder.sentRequestAtMillis(long sentRequestAtMillis) Sets the timestamp when the request was sent. -
Uses of Response.Builder in org.miaixz.bus.http.accord
Methods in org.miaixz.bus.http.accord that return Response.BuilderModifier and TypeMethodDescriptionExchange.readResponseHeaders(boolean expectContinue) Reads the response headers from the network. -
Uses of Response.Builder in org.miaixz.bus.http.metric
Methods in org.miaixz.bus.http.metric with parameters of type Response.BuilderModifier and TypeMethodDescriptionabstract intInternal.code(Response.Builder responseBuilder) Returns the HTTP status code from aResponse.Builder.abstract voidInternal.initExchange(Response.Builder responseBuilder, Exchange exchange) Initializes the exchange for aResponse.Builder. -
Uses of Response.Builder in org.miaixz.bus.http.metric.http
Methods in org.miaixz.bus.http.metric.http that return Response.BuilderModifier and TypeMethodDescriptionstatic Response.BuilderHttp2Codec.readHttp2HeadersList(Headers headerBlock, org.miaixz.bus.core.net.Protocol protocol) Creates aResponse.Builderfrom a list of HTTP/2 headers.Http1Codec.readResponseHeaders(boolean expectContinue) Http2Codec.readResponseHeaders(boolean expectContinue) Reads the response headers from the stream.HttpCodec.readResponseHeaders(boolean expectContinue) Parses the response headers from the HTTP transport.