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 ofHttpResponsebut provides an ability to write the payload to anHttpPayloadWriter.CharSequences Deprecated. This class is deprecated and will be removed in a future release.ConditionalFilterFactory ContentCodingHttpRequesterFilter AStreamingHttpClientFilterthat adds encoding / decoding functionality for requests and responses respectively, as these are specified by the spec Content-Encoding.ContentCodingHttpServiceFilter AStreamingHttpServicethat 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 forStreamingHttpRequestFactoryandStreamingHttpResponseFactory.DelegatingHttpConnectionContext HttpConnectionContextimplementation that delegates all calls to a providedHttpConnectionContext.DelegatingHttpExecutionContext An implementation ofHttpExecutionContextthat delegates all method calls to anotherHttpExecutionContext.DelegatingHttpExecutionStrategy AnHttpExecutionStrategythat delegates all method calls to anotherHttpExecutionStrategy.DelegatingHttpServiceContext An implementation ofHttpServiceContextthat delegates all calls to a providedHttpServiceContext.EmptyHttpHeaders HttpHeaderswhich are always empty and does not allow modification.ExecutionContextToHttpExecutionContext HeaderUtils Utilities to use forHttpHeadersimplementations.HeaderUtils.CookiesByNameIterator AnIteratorofHttpCookiePairdesigned to iterate across multiple values ofHttpHeaderNames.COOKIEfor 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 TheOutputStreamwhich provides access to the HTTP trailers.HttpProtocolVersion HTTP protocol versioning.HttpRequestMetaDataFactory A static factory class forHttpRequestMetaDataobjects.HttpRequestMethod HTTP Request Methods.HttpRequestMethod.Properties HttpResponseMetaDataFactory A static factory class forHttpResponseMetaDataobjects.HttpResponseStatus HttpSerializationProviders A factory to createHttpSerializationProviders.HttpServerBuilder A builder for building HTTP Servers.HttpServiceContext AHttpConnectionContextfor use in theHttpServicecontext.MixinAwareParametersRunnerFactory JUnit supports@Testannotated default methods from v5, this small extension enables it for JUnit 4.MultiAddressHttpClientBuilder<U,R> A builder ofStreamingHttpClientinstances 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 homogeneousStreamingHttpClientinstances which call the server associated with a partition selected from a set ofPartitionedServiceDiscovererEvents resolved from a single unresolved address.ReservedStreamingHttpConnectionFilter AReservedStreamingHttpConnectionFilterthat delegates all methods to a differentReservedStreamingHttpConnectionFilter.SingleAddressHttpClientBuilder<U,R> A builder ofStreamingHttpClientinstances which call a single server based on the provided unresolved address.StatelessTrailersTransformer<Payload> An implementation ofTrailersTransformerthat does not require any state.StrategyInfluencerChainBuilder A chain ofHttpExecutionStrategyInfluencer.StreamingHttpClientFilter AStreamingHttpClientthat delegates all methods to a differentStreamingHttpClient.StreamingHttpConnectionFilter AStreamingHttpConnectionthat delegates all methods to a differentStreamingHttpConnection.StreamingHttpRequests Factory methods for creatingStreamingHttpRequests.StreamingHttpResponses Factory methods for creatingStreamingHttpResponses.StreamingHttpServiceFilter An implementation ofStreamingHttpServicethat 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.