インターフェースの使用
org.springframework.web.accept.ApiVersionDeprecationHandler
ApiVersionDeprecationHandler を使用するパッケージ
org.springframework.web.accept 内の ApiVersionDeprecationHandler 使用
修飾子と型クラス説明class型 ApiVersionDeprecationHandler のパラメーターを持つ org.springframework.web.accept のコンストラクター修飾子コンストラクター説明DefaultApiVersionStrategy(ListSE<ApiVersionResolver> versionResolvers, ApiVersionParser<?> versionParser, @Nullable BooleanSE versionRequired, @Nullable StringSE defaultVersion, boolean detectSupportedVersions, @Nullable PredicateSE<ComparableSE<?>> supportedVersionPredicate, @Nullable ApiVersionDeprecationHandler deprecationHandler) インスタンスの作成。org.springframework.web.servlet.config.annotation 内の ApiVersionDeprecationHandler 使用
型 ApiVersionDeprecationHandler のパラメーターを持つ org.springframework.web.servlet.config.annotation のメソッド修飾子と型メソッド説明ApiVersionConfigurer.setDeprecationHandler(ApiVersionDeprecationHandler handler) 非推奨の API バージョンのリクエストの処理を追加するハンドラーを構成します。