インターフェースの使用
org.springframework.web.accept.ContentNegotiationStrategy
ContentNegotiationStrategy を使用するパッケージ
org.springframework.web.accept 内の ContentNegotiationStrategy 使用
ContentNegotiationStrategy を実装している org.springframework.web.accept のクラス修飾子と型クラス説明classメディア型へのリクエストを解決する手順を含むContentNegotiationStrategy実装の基本クラス。classリクエストに対してリクエストされたメディア型を決定する主要クラス。class固定コンテンツ型を返すContentNegotiationStrategy。class'Accept' リクエストヘッダーをチェックするContentNegotiationStrategy。classクエリパラメーターからリクエストされたコンテンツ型を解決する戦略。class使用すべきではありません。5.2.4 現在。class使用すべきではありません。5.2.4 現在。型 ContentNegotiationStrategy の型パラメーターを使用した org.springframework.web.accept のメソッド修飾子と型メソッド説明<T extends ContentNegotiationStrategy>
TContentNegotiationManager.getStrategy(ClassSE<T> strategyType) 指定された型のContentNegotiationStrategyを見つけます。型 ContentNegotiationStrategy の引数を持つ型を返す org.springframework.web.accept のメソッド型 ContentNegotiationStrategy のパラメーターを持つ org.springframework.web.accept のメソッド修飾子と型メソッド説明voidContentNegotiationManagerFactoryBean.setDefaultContentTypeStrategy(ContentNegotiationStrategy strategy) コンテンツ型がリクエストされていないときに使用するコンテンツ型を決定するために使用するカスタムContentNegotiationStrategyを設定します。型 ContentNegotiationStrategy の型引数を持つ org.springframework.web.accept のメソッドパラメーター修飾子と型メソッド説明voidContentNegotiationManagerFactoryBean.setStrategies(ListSE<ContentNegotiationStrategy> strategies) 使用する戦略の正確なリストを設定します。型 ContentNegotiationStrategy のパラメーターを持つ org.springframework.web.accept のコンストラクター修飾子コンストラクター説明ContentNegotiationManager(ContentNegotiationStrategy... strategies) ContentNegotiationStrategyストラテジーの指定されたリストを使用してインスタンスを作成します。各ストラテジーはMediaTypeFileExtensionResolverのインスタンスにもなります。型の型引数を持つ org.springframework.web.accept のコンストラクターパラメーター ContentNegotiationStrategyorg.springframework.web.servlet.config.annotation 内の ContentNegotiationStrategy 使用
型 ContentNegotiationStrategy のパラメーターを持つ org.springframework.web.servlet.config.annotation のメソッド修飾子と型メソッド説明ContentNegotiationConfigurer.defaultContentTypeStrategy(ContentNegotiationStrategy defaultStrategy) コンテンツ型がリクエストされていないときに使用するコンテンツ型を決定するために使用するカスタムContentNegotiationStrategyを設定します。型 ContentNegotiationStrategy の型引数を持つ org.springframework.web.servlet.config.annotation のメソッドパラメーター修飾子と型メソッド説明voidContentNegotiationConfigurer.strategies(ListSE<ContentNegotiationStrategy> strategies) 使用する戦略の正確なリストを設定します。