Uses of Interface
org.springframework.web.accept.ApiVersionStrategy
Packages that use ApiVersionStrategy
Package
Description
Support for testing Spring MVC applications via
WebTestClient
with MockMvc for server request
handling.Contains built-in
MockMvcBuilder implementations.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.test.web.servlet.client
Methods in org.springframework.test.web.servlet.client with parameters of type ApiVersionStrategyModifier and TypeMethodDescriptionMockMvcWebTestClient.ControllerSpec.apiVersionStrategy(ApiVersionStrategy versionStrategy) Set theApiVersionStrategyto use when mapping requests. -
Uses of ApiVersionStrategy in org.springframework.test.web.servlet.setup
Methods in org.springframework.test.web.servlet.setup with parameters of type ApiVersionStrategyModifier and TypeMethodDescriptionStandaloneMockMvcBuilder.setApiVersionStrategy(@Nullable ApiVersionStrategy versionStrategy) Set theApiVersionStrategyto use when mapping requests. -
Uses of ApiVersionStrategy in org.springframework.web.accept
Classes in org.springframework.web.accept that implement ApiVersionStrategyModifier and TypeClassDescriptionclassDefault implementation ofApiVersionStrategythat 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 ApiVersionStrategyApiVersionConfigurer.getApiVersionStrategy()WebMvcConfigurationSupport.mvcApiVersionStrategy()Return the central strategy to manage API versioning with, ornullif 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 aRequestMappingHandlerMappingordered 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 TypeMethodDescriptionvoidRequestMappingInfo.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 configuredApiVersionStrategystrategy.Methods in org.springframework.web.servlet.mvc.method.annotation with parameters of type ApiVersionStrategyModifier and TypeMethodDescriptionvoidRequestMappingHandlerMapping.setApiVersionStrategy(@Nullable ApiVersionStrategy strategy) Configure a strategy to manage API versioning.