クラスの使用
org.springframework.web.reactive.accept.StandardApiVersionDeprecationHandler.VersionSpec
org.springframework.web.reactive.accept 内の StandardApiVersionDeprecationHandler.VersionSpec 使用
修飾子と型メソッド説明StandardApiVersionDeprecationHandler.configureVersion(StringSE version) 指定された API バージョンを非推奨としてマークし、返されたStandardApiVersionDeprecationHandler.VersionSpecを使用して、クライアントに送信する非推奨の詳細を構成します。StandardApiVersionDeprecationHandler.VersionSpec.setDeprecationDate(ZonedDateTimeSE date) "Deprecation" レスポンスヘッダーに廃止日を指定します。StandardApiVersionDeprecationHandler.VersionSpec.setDeprecationLink(URISE uri) rel="deprecation"とtype="text/html"を使用して、"Link" レスポンスヘッダーの URL を指定します。StandardApiVersionDeprecationHandler.VersionSpec.setDeprecationLink(URISE uri, MediaType mediaType) "text/html" 以外のメディア型で使用するためのStandardApiVersionDeprecationHandler.VersionSpec.setDeprecationLink(URI)のバリエーション。StandardApiVersionDeprecationHandler.VersionSpec.setExchangePredicate(PredicateSE<ServerWebExchange> predicate) 処理する交換をさらにフィルタリングするための述語を設定します。StandardApiVersionDeprecationHandler.VersionSpec.setSunsetDate(ZonedDateTimeSE date) "Sunset" レスポンスヘッダーの廃止日を指定します。StandardApiVersionDeprecationHandler.VersionSpec.setSunsetLink(URISE uri) rel="sunset"とtype="text/html"を使用して、"Link" レスポンスヘッダーの URL を指定します。StandardApiVersionDeprecationHandler.VersionSpec.setSunsetLink(URISE uri, MediaType mediaType) "text/html" 以外のメディア型で使用するためのStandardApiVersionDeprecationHandler.VersionSpec.setSunsetLink(URI)のバリエーション。