クラス ResourceUrlProvider

java.lang.ObjectSE
org.springframework.web.reactive.resource.ResourceUrlProvider
実装されたすべてのインターフェース:
EventListenerSEAwareApplicationContextAwareApplicationListener<ContextRefreshedEvent>

public class ResourceUrlProvider extends ObjectSE implements ApplicationListener<ContextRefreshedEvent>, ApplicationContextAware
クライアントが静的リソースにアクセスするために使用するパブリック URL パスを取得するために使用する中心的なコンポーネント。

このクラスは、静的リソースを提供するために使用される Spring WebFlux ハンドラーマッピングを認識し、構成された ResourceHttpRequestHandler の ResourceResolver チェーンを使用して決定を行います。

導入:
5.0
作成者:
Rossen Stoyanchev, Brian Clozel