Uses of Interface
org.springframework.web.accept.ApiVersionStrategy
Packages that use ApiVersionStrategy
Package
Description
This package contains classes used to determine the requested the media types in a request.
Annotation-based setup for Spring MVC.
Common MVC logic for matching incoming requests based on conditions.
Servlet-based infrastructure for handler method processing,
building on the
org.springframework.web.method
package.MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.-
Uses of ApiVersionStrategy in org.springframework.web.accept
Classes in org.springframework.web.accept that implement ApiVersionStrategyModifier and TypeClassDescriptionclass
Default implementation ofApiVersionStrategy
that delegates to the configured version resolvers and version parser. -
Uses of ApiVersionStrategy in org.springframework.web.servlet.config.annotation
Methods in org.springframework.web.servlet.config.annotation that return ApiVersionStrategyModifier and TypeMethodDescriptionprotected @Nullable ApiVersionStrategy
ApiVersionConfigurer.getApiVersionStrategy()
WebMvcConfigurationSupport.mvcApiVersionStrategy()
Return the central strategy to manage API versioning with, ornull
if the application does not use versioning.Methods in org.springframework.web.servlet.config.annotation with parameters of type ApiVersionStrategyModifier and TypeMethodDescriptionWebMvcConfigurationSupport.requestMappingHandlerMapping
(ContentNegotiationManager contentNegotiationManager, @Nullable ApiVersionStrategy apiVersionStrategy, FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) Return aRequestMappingHandlerMapping
ordered at 0 for mapping requests to annotated controllers. -
Uses of ApiVersionStrategy in org.springframework.web.servlet.mvc.condition
Constructors in org.springframework.web.servlet.mvc.condition with parameters of type ApiVersionStrategyModifierConstructorDescriptionVersionRequestCondition
(String configuredVersion, ApiVersionStrategy versionStrategy) -
Uses of ApiVersionStrategy in org.springframework.web.servlet.mvc.method
Methods in org.springframework.web.servlet.mvc.method that return ApiVersionStrategyModifier and TypeMethodDescriptionRequestMappingInfo.BuilderConfiguration.getApiVersionStrategy()
Return the configured strategy for API versioning.Methods in org.springframework.web.servlet.mvc.method with parameters of type ApiVersionStrategyModifier and TypeMethodDescriptionvoid
RequestMappingInfo.BuilderConfiguration.setApiVersionStrategy
(@Nullable ApiVersionStrategy apiVersionStrategy) Set the strategy for API versioning. -
Uses of ApiVersionStrategy in org.springframework.web.servlet.mvc.method.annotation
Methods in org.springframework.web.servlet.mvc.method.annotation that return ApiVersionStrategyModifier and TypeMethodDescriptionRequestMappingHandlerMapping.getApiVersionStrategy()
Return the configuredApiVersionStrategy
strategy.Methods in org.springframework.web.servlet.mvc.method.annotation with parameters of type ApiVersionStrategyModifier and TypeMethodDescriptionvoid
RequestMappingHandlerMapping.setApiVersionStrategy
(@Nullable ApiVersionStrategy strategy) Configure a strategy to manage API versioning.