Package io.servicetalk.http.utils
@ElementsAreNonnullByDefault
package io.servicetalk.http.utils
HTTP utilities based upon the HTTP API package.
-
ClassDescriptionHelper operator for signaling the end of an HTTP Request/Response cycle.CacheConnectionHttpLoadBalanceFactory<ResolvedAddress>A
HttpLoadBalancerFactory
that will cache successive connection creation attempts and return the sameSingle
instead of creating a new connection each time.Enforces sequential behavior of the client, deferring return of the response until after the request payload body is sent.A filter which will set aHttpHeaderNames.HOST
header with the fallback value if the header is not already present inHttpRequestMetaData
.A factory to create differentHttpLifecycleObserver
s.Helper methods for computing effective request URIs according to RFC 7230, section 5.5 and base URIs (which are effective request URIs with/
as path, and no query nor fragment.A connection-level filter that closes idle connections.A filter that mimicsSocketOptions.SO_TIMEOUT
behavior on the client-side.Limits the response payload size.Limits the request payload size.An HTTP request filter that performs automatic redirection if a client receives3XX status code
in theresponse
.Decodes theHttpRequestMetaData.requestTarget()
for each incoming request.Encodes theHttpRequestMetaData.requestTarget()
for each outgoing request.Encodes theHttpRequestMetaData.requestTarget()
for each incoming request.Deprecated.A filter to enable timeouts for HTTP requests on the client-side.A filter to enable timeouts for HTTP requests on the server-side.
TimeoutFromRequest
use variants that acceptBiFunction
<HttpRequestMetaData
,TimeSource
,Duration
>.