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 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 and version parser.Resolver that always resolves to a fixed list of media types.Resolver that looks at the 'Accept' header of the request.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
.