Package io.servicetalk.http.utils
HTTP utilities based upon the HTTP API package.
-
Interface Summary Interface Description TimeoutFromRequest A function to determine the appropriate timeout to be used for a givenHTTP request
. -
Class Summary Class Description BeforeFinallyHttpOperator Helper operator for signaling the end of an HTTP Request/Response cycle.HttpRequestUriUtils 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.RedirectingHttpRequesterFilter A HTTP request filter that performs automatic redirects ifStreamingHttpRequester.request(HttpExecutionStrategy, StreamingHttpRequest)
method receives 3XX status code in theresponse
.RequestTargetDecoderHttpServiceFilter Decodes theHttpRequestMetaData.requestTarget()
for each incoming request.RequestTargetEncoderHttpRequesterFilter Encodes theHttpRequestMetaData.requestTarget()
for each outgoing request.RequestTargetEncoderHttpServiceFilter Encodes theHttpRequestMetaData.requestTarget()
for each incoming request.RetryingHttpRequesterFilter A filter to enable retries for HTTP requests.RetryingHttpRequesterFilter.Builder A builder forRetryingHttpRequesterFilter
, which puts an upper bound on retry attempts.TimeoutHttpRequesterFilter A filter to enable timeouts for HTTP requests on the client-side.TimeoutHttpServiceFilter A filter to enable timeouts for HTTP requests on the server-side. -
Exception Summary Exception Description InvalidRedirectException Throws when redirect could not be performed.