Package io.servicetalk.http.api
The HTTP API package.
-
Class Summary Class Description AbstractHttpRequesterFilterTest This parameterized test facilitates running HTTP requester filter tests under all calling variations: client, connection, reserved connection, with and without SSL context.AbstractHttpServiceFilterTest This parameterized test facilitates running HTTP service filter tests under all calling variations: with and without SSL context.BlockingStreamingHttpServerResponse The equivalent ofHttpResponse
but provides an ability to write the payload to anHttpPayloadWriter
.ConditionalFilterFactory ContentCodingHttpRequesterFilter AStreamingHttpClientFilter
that adds encoding / decoding functionality for requests and responses respectively, as these are specified by the spec Content-Encoding.ContentCodingHttpServiceFilter AStreamingHttpService
that adds encoding / decoding functionality for responses and requests respectively, as these are specified by the spec Content-Encoding.DefaultHttpCookiePair Default implementation ofHttpCookiePair
.DefaultHttpExecutionContext Default implementation ofHttpExecutionContext
.DefaultHttpHeadersFactory Default implementation ofHttpHeadersFactory
.DefaultHttpSetCookie Default implementation ofHttpSetCookie
.DefaultServiceDiscoveryRetryStrategy<ResolvedAddress,E extends ServiceDiscovererEvent<ResolvedAddress>> Default implementation forServiceDiscoveryRetryStrategy
.DefaultServiceDiscoveryRetryStrategy.Builder<ResolvedAddress,E extends ServiceDiscovererEvent<ResolvedAddress>> A builder to build instances ofDefaultServiceDiscoveryRetryStrategy
.DefaultStreamingHttpRequestResponseFactory A default implementation forStreamingHttpRequestFactory
andStreamingHttpResponseFactory
.DelegatingHttpConnectionContext HttpConnectionContext
implementation that delegates all calls to a providedHttpConnectionContext
.DelegatingHttpExecutionContext An implementation ofHttpExecutionContext
that delegates all method calls to anotherHttpExecutionContext
.DelegatingHttpExecutionStrategy AnHttpExecutionStrategy
that delegates all method calls to anotherHttpExecutionStrategy
.DelegatingHttpServiceContext An implementation ofHttpServiceContext
that delegates all calls to a providedHttpServiceContext
.EmptyHttpHeaders HttpHeaders
which are always empty and does not allow modification.ExecutionContextToHttpExecutionContext FilterFactoryUtils Utilities for filter factories.HeaderUtils Utilities to use forHttpHeaders
implementations.HeaderUtils.CookiesByNameIterator AnIterator
ofHttpCookiePair
designed to iterate across multiple values ofHttpHeaderNames.COOKIE
for a specificcookie-name
.HeaderUtils.CookiesIterator HttpApiConversions Conversion routines toStreamingHttpService
.HttpEventKey<T> A key which identifies a configuration setting for a connection.HttpExecutionStrategies A factory to create differentHttpExecutionStrategy
.HttpExecutionStrategies.Builder A builder to build anHttpExecutionStrategy
.HttpHeaderNames Common request header names and response header names.HttpHeaderValues Common request header values and response header values.HttpOutputStream TheOutputStream
which provides access to the HTTP trailers.HttpProtocolVersion HTTP protocol versioning.HttpRequestMetaDataFactory A static factory class forHttpRequestMetaData
objects.HttpRequestMethod HTTP Request Methods.HttpRequestMethod.Properties HttpResponseMetaDataFactory A static factory class forHttpResponseMetaData
objects.HttpResponseStatus HttpSerializationProviders A factory to createHttpSerializationProvider
s.HttpServerBuilder A builder for building HTTP Servers.HttpServiceContext AHttpConnectionContext
for use in theHttpService
context.MultiAddressHttpClientBuilder<U,R> A builder ofStreamingHttpClient
instances which have a capacity to call any server based on the parsed absolute-form URL address information from eachStreamingHttpRequest
.PartitionedHttpClientBuilder<U,R> A builder of homogeneousStreamingHttpClient
instances which call the server associated with a partition selected from a set ofPartitionedServiceDiscovererEvent
s resolved from a single unresolved address.ReservedStreamingHttpConnectionFilter AReservedStreamingHttpConnectionFilter
that delegates all methods to a differentReservedStreamingHttpConnectionFilter
.SingleAddressHttpClientBuilder<U,R> A builder ofStreamingHttpClient
instances which call a single server based on the provided unresolved address.StatelessTrailersTransformer<Payload> An implementation ofTrailersTransformer
that does not require any state.StrategyInfluencerChainBuilder A chain ofHttpExecutionStrategyInfluencer
.StreamingHttpClientFilter AStreamingHttpClient
that delegates all methods to a differentStreamingHttpClient
.StreamingHttpConnectionFilter AStreamingHttpConnection
that delegates all methods to a differentStreamingHttpConnection
.StreamingHttpRequests Factory methods for creatingStreamingHttpRequest
s.StreamingHttpResponses Factory methods for creatingStreamingHttpResponse
s.StreamingHttpServiceFilter An implementation ofStreamingHttpService
that delegates all methods to the providedStreamingHttpService
.TestHttpServiceContext TestStreamingHttpClient TestStreamingHttpConnection -
Enum Summary Enum Description AbstractHttpRequesterFilterTest.RequesterType AbstractHttpRequesterFilterTest.SecurityType AbstractHttpServiceFilterTest.SecurityType HttpResponseStatus.StatusClass The class of response status codes.HttpSetCookie.SameSite Represents samesite-value for the SameSite attribute.