Package org.springframework.web.reactive.accept
@NullMarked
package org.springframework.web.reactive.accept
RequestedContentTypeResolver
strategy and implementations to resolve the requested content type for a
given request.-
ClassDescriptionContract to add handling of requests with a deprecated API version.Contract to extract the version from a request.The main component that encapsulates configuration preferences and strategies to manage API versioning for an application.Default implementation of
ApiVersionStrategy
that delegates to the configured version resolvers, version parser, and deprecation handler.Resolver that always resolves to a fixed list of media types.Resolver that looks at the 'Accept' header of the request.ApiVersionResolver
that extracts the version from a media type parameter found in the Accept or Content-Type headers.Resolver that checks a query parameter and uses it to look up a matching MediaType.ApiVersionResolver
that extract the version from a path segment.Strategy to resolve the requested media types for aServerWebExchange
.Builder for a compositeRequestedContentTypeResolver
that delegates to other resolvers each implementing a different strategy to determine the requested content type -- for example, Accept header, query parameter, or other.Helper to create and configureParameterContentTypeResolver
.