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.Helper operator for signaling the end of an HTTP Request/Response cycle.CacheConnectionHttpLoadBalanceFactory<ResolvedAddress>A
HttpLoadBalancerFactorythat will cache successive connection creation attempts and return the sameSingleinstead 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.HOSTheader with the fallback value if the header is not already present inHttpRequestMetaData.A factory to create differentHttpLifecycleObservers.Configure automatic consumption of requestpayload bodywhen it is not consumed by the service.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_TIMEOUTbehavior 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 codein 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.
TimeoutFromRequestuse variants that acceptBiFunction<HttpRequestMetaData,TimeSource,Duration>.