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