インターフェースの使用
org.springframework.core.io.Resource
パッケージ
説明
リフレクション、リソース、java 直列化、実行時のプロキシの必要性を登録するためのサポート。
Bean ファクトリの SPI インターフェースおよび構成関連の便利なクラス。
Groovy ベースの Bean 定義のサポートパッケージ。
Bean 定義解析のサポートインフラストラクチャ。
org.springframework.beans.factory
パッケージをサポートするクラス。 標準の "spring-beans" XSD を含む、抽象 XML ベースの
BeanFactory
実装が含まれています。ApplicationContext 実装および MessageSource 実装の抽象基本クラスなど、org.springframework.context パッケージをサポートするクラス。
フレームワーク全体で使用される(ファイルベースの)リソースの一般的な抽象化。
バイトバッファの実装を操作するための一般的な抽象化。
Spring のリソース抽象化のサポートクラス。
アノテーションおよびクラスレベルのメタデータを読み取るためのクラスをサポートします。
クライアント / サーバー側 HTTP の基本的な抽象化が含まれています。
マルチパートのサポート。
HttpMessageConverter 抽象化を提供して、Java オブジェクトと HTTP 入出力メッセージ間で変換します。
Spring JDBC 構成名前空間を定義します。
スクリプトを介してデータベースを初期化するための拡張可能なサポートを提供します。
jdbc.core および jdbc.object パッケージのクラスで使用される JDBC フレームワークのクラスをサポートします。
ObjectName 作成の戦略を提供します。
Spring のメールインフラストラクチャの JavaMail サポート。
Hibernate 5.x と Spring の概念の統合を提供するパッケージ。
JAXB と Spring の O/X マッピングサポートの統合を提供するパッケージ。
さまざまなシナリオ内で Spring の O/X マッピング統合を使用するための汎用サポートクラスを提供します。
スクリプトを介してデータベースを初期化するための拡張可能なサポートを提供します。
オープンソーススケジューラ Quartz のサポートクラス。Quartz スケジューラ、JobDetails、トリガーを Spring コンテキストの Bean として設定できます。
Spring のスクリプトパッケージのサポートクラス。
Spring TestContext フレームワーク内で使用される一般的なユーティリティ。
ビルトイン
ResponseCreator
実装が含まれています。 設定するためのサポートクラス FreeMarker を Spring アプリケーションコンテキスト内。
JSR-303 Bean 検証プロバイダー(Hibernate Validator など)を Spring ApplicationContext に、特に Spring のデータバインディングおよび検証 API と統合するためのサポートクラス。
このパッケージには、リクエストでリクエストされたメディア型を判別するために使用されるクラスが含まれています。
WebApplicationContext 実装やさまざまなユーティリティクラスなど、
org.springframework.web.context
パッケージをサポートするクラス。 ファイルのアップロードを処理するためのマルチパート解決フレームワーク。
Spring WebFlux 構成インフラストラクチャ。
リアクティブクライアントとサーバーサブパッケージの両方の基盤を提供します。
Spring のリアクティブ環境用の関数 Web フレームワークを構成する型を提供します。
静的リソースを提供するためのサポートクラス。
JSR-223 スクリプトエンジンの抽象化(Java 6+ に含まれる)に基づくビューのサポートクラス。
Spring MVC のアノテーションベースのセットアップ。
Spring のサーブレット環境用の関数 Web フレームワークを構成する型を提供します。
静的リソースを提供するためのサポートクラス。
カスタム実装の抽象基本クラスを含む、標準の View および ViewResolver 実装を提供します。
JSR-223 スクリプトエンジンの抽象化(Java 6+ に含まれる)に基づくビューのサポートクラス。
org.springframework.aot.hint 内の Resource 使用
org.springframework.beans.factory.config 内の Resource 使用
org.springframework.beans.factory.groovy 内の Resource 使用
修飾子と型メソッド説明int
GroovyBeanDefinitionReader.loadBeanDefinitions
(Resource resource) 指定された Groovy スクリプトまたは XML ファイルから Bean 定義をロードします。org.springframework.beans.factory.parsing 内の Resource 使用
修飾子と型メソッド説明final Resource[]
ImportDefinition.getActualResources()
Location.getResource()
この場所が関連付けられているリソースを取得します。final Resource
ReaderContext.getResource()
修飾子と型メソッド説明NullSourceExtractor.extractSource
(ObjectSE sourceCandidate, Resource definitionResource) この実装は、単に入力に対してnull
を返します。PassThroughSourceExtractor.extractSource
(ObjectSE sourceCandidate, Resource definingResource) 提供されたsourceCandidate
をそのまま返すだけです。SourceExtractor.extractSource
(ObjectSE sourceCandidate, Resource definingResource) 構成パーサーから提供された候補オブジェクトからソースメタデータを抽出します。void
ReaderContext.fireImportProcessed
(StringSE importedResource, Resource[] actualResources, ObjectSE source) インポート処理されたイベントを起動します。修飾子コンストラクター説明ImportDefinition
(StringSE importedResource, Resource[] actualResources, ObjectSE source) 新しい ImportDefinition を作成します。Location
クラスの新しいインスタンスを作成します。Location
クラスの新しいインスタンスを作成します。ReaderContext
(Resource resource, ProblemReporter problemReporter, ReaderEventListener eventListener, SourceExtractor sourceExtractor) 新しいReaderContext
を作成します。org.springframework.beans.factory.support 内の Resource 使用
修飾子と型メソッド説明int
AbstractBeanDefinitionReader.loadBeanDefinitions
(Resource... resources) int
BeanDefinitionReader.loadBeanDefinitions
(Resource resource) 指定されたリソースから Bean 定義をロードします。int
BeanDefinitionReader.loadBeanDefinitions
(Resource... resources) 指定されたリソースから Bean 定義をロードします。int
PropertiesBeanDefinitionReader.loadBeanDefinitions
(Resource resource) 使用すべきではありません。すべてのプロパティキーを使用して、指定されたプロパティファイルから Bean 定義を読み込みます(つまりint
PropertiesBeanDefinitionReader.loadBeanDefinitions
(Resource resource, StringSE prefix) 使用すべきではありません。指定されたプロパティファイルから Bean 定義をロードします。void
AbstractBeanDefinition.setResource
(Resource resource) この Bean 定義のソースであるリソースを設定します(エラーの場合にコンテキストを表示するため)。修飾子と型メソッド説明int
AbstractBeanDefinitionReader.loadBeanDefinitions
(StringSE location, SetSE<Resource> actualResources) 指定されたリソースの場所から Bean 定義をロードします。org.springframework.beans.factory.xml 内の Resource 使用
修飾子と型メソッド説明XmlBeanDefinitionReader.createReaderContext
(Resource resource) ドキュメントリーダーに渡すXmlReaderContext
を作成します。protected int
XmlBeanDefinitionReader.detectValidationMode
(Resource resource) 提供されているResource
によって識別される XML ファイルに対して実行する検証の種類を検出します。protected int
XmlBeanDefinitionReader.doLoadBeanDefinitions
(InputSourceSE inputSource, Resource resource) 指定された XML ファイルから Bean 定義を実際にロードします。protected DocumentSE
XmlBeanDefinitionReader.doLoadDocument
(InputSourceSE inputSource, Resource resource) 設定された DocumentLoader を使用して、指定されたドキュメントを実際にロードします。protected int
XmlBeanDefinitionReader.getValidationModeForResource
(Resource resource) 指定されたResource
の検証モードを決定します。int
XmlBeanDefinitionReader.loadBeanDefinitions
(Resource resource) 指定された XML ファイルから Bean 定義をロードします。int
XmlBeanDefinitionReader.registerBeanDefinitions
(DocumentSE doc, Resource resource) 指定された DOM ドキュメントに含まれる Bean 定義を登録します。修飾子コンストラクター説明XmlReaderContext
(Resource resource, ProblemReporter problemReporter, ReaderEventListener eventListener, SourceExtractor sourceExtractor, XmlBeanDefinitionReader reader, NamespaceHandlerResolver namespaceHandlerResolver) 新しいXmlReaderContext
を作成します。org.springframework.context.support 内の Resource 使用
修飾子と型メソッド説明protected Resource[]
AbstractXmlApplicationContext.getConfigResources()
このコンテキストの構築に使用する XML Bean 定義ファイルを参照して、Resource オブジェクトの配列を返します。protected Resource[]
ClassPathXmlApplicationContext.getConfigResources()
GenericApplicationContext.getResource
(StringSE location) この実装は、設定されている場合はこのコンテキストのResourceLoader
に委譲し、そうでない場合はデフォルトのスーパークラスの動作にフォールバックします。protected Resource
FileSystemXmlApplicationContext.getResourceByPath
(StringSE path) リソースパスをファイルシステムパスとして解決します。Resource[]
AbstractApplicationContext.getResources
(StringSE locationPattern) Resource[]
GenericApplicationContext.getResources
(StringSE locationPattern) この実装は、ResourcePatternResolver インターフェースを実装している場合は、このコンテキストの ResourceLoader に委譲し、そうでない場合は、デフォルトのスーパークラスの動作にフォールバックします。protected Resource
ReloadableResourceBundleMessageSource.resolveResource
(StringSE filename) 指定されたバンドルfilename
を具体的なResource
に解決し、複数のソースまたはファイル拡張子をチェックする可能性があります。修飾子と型メソッド説明void
指定された Groovy スクリプトまたは XML ファイルから Bean 定義をロードします。void
指定された XML リソースから Bean 定義をロードします。protected PropertiesSE
ReloadableResourceBundleMessageSource.loadProperties
(Resource resource, StringSE filename) 指定されたリソースからプロパティをロードします。修飾子コンストラクター説明GenericGroovyApplicationContext
(Resource... resources) 新しい GenericGroovyApplicationContext を作成し、指定されたリソースから Bean 定義をロードして、コンテキストを自動的にリフレッシュします。GenericXmlApplicationContext
(Resource... resources) 新しい GenericXmlApplicationContext を作成し、指定されたリソースから Bean 定義をロードして、コンテキストを自動的にリフレッシュします。org.springframework.core.codec 内の Resource 使用
修飾子と型メソッド説明ResourceDecoder.decode
(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, MapSE<StringSE, ObjectSE> hints) 修飾子と型メソッド説明reactor.core.publisher.Flux<Resource>
ResourceDecoder.decode
(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, MapSE<StringSE, ObjectSE> hints) 修飾子と型メソッド説明protected reactor.core.publisher.Flux<DataBuffer>
ResourceEncoder.encode
(Resource resource, DataBufferFactory bufferFactory, ResolvableType type, MimeType mimeType, MapSE<StringSE, ObjectSE> hints) org.springframework.core.io 内の Resource 使用
修飾子と型インターフェース説明interface
囲んでいる「コンテキスト」からロードされるリソースの拡張インターフェース。interface
リソースへの書き込みをサポートするリソースの拡張インターフェース。修飾子と型クラス説明class
URL をUrlResource
やClassPathResource
などのファイル参照に解決するリソースの抽象基本クラス。class
Resource
実装の便利な基本クラスで、典型的な動作を事前実装します。class
指定されたバイト配列のResource
実装。class
クラスパスリソースのResource
実装。protected static class
ContextResource インターフェースを実装することにより、コンテキスト相対パスを明示的に表現する ClassPathResource。class
リソースの説明を保持しているが、実際に読み取り可能なリソースを指し示していない単純なResource
実装。class
class
ファイル解決を想定したUrlResource
のサブクラス。WritableResource
インターフェースを実装しています。class
指定されたInputStream
SE のResource
実装。class
Module
SE 解決のためのResource
実装。Module.getResourceAsStream(java.lang.String)
SE 経由でModuleResource.getInputStream()
アクセスを実行します。class
class
java.net.URL
ロケーター用のResource
実装。class
JBoss VFS ベースのResource
実装。修飾子と型メソッド説明AbstractResource.createRelative
(StringSE relativePath) この実装は、このリソースに対して相対リソースを作成できないと想定して、FileNotFoundException をスローします。ClassPathResource.createRelative
(StringSE relativePath) この実装はClassPathResource
を作成し、この記述子の作成に使用されたパスに相対的な指定されたパスを適用します。DefaultResourceLoader.ClassPathContextResource.createRelative
(StringSE relativePath) FileSystemResource.createRelative
(StringSE relativePath) この実装は FileSystemResource を作成し、このリソース記述子の元となるファイルのパスに対して指定されたパスを適用します。FileUrlResource.createRelative
(StringSE relativePath) ModuleResource.createRelative
(StringSE relativePath) PathResource.createRelative
(StringSE relativePath) この実装では、このリソース記述子の元となるファイルのパスに相対的な指定されたパスを適用して、PathResource
を作成します。Resource.createRelative
(StringSE relativePath) このリソースに関連するリソースを作成します。UrlResource.createRelative
(StringSE relativePath) この実装はUrlResource
を作成し、相対パスを適応させるためにUrlResource.createRelativeURL(String)
に委譲します。VfsResource.createRelative
(StringSE relativePath) DefaultResourceLoader.getResource
(StringSE location) ResourceLoader.getResource
(StringSE location) 指定されたリソースの場所のResource
ハンドルを返します。protected Resource
ClassRelativeResourceLoader.getResourceByPath
(StringSE path) protected Resource
DefaultResourceLoader.getResourceByPath
(StringSE path) 指定されたパスにあるリソースのリソースハンドルを返します。protected Resource
FileSystemResourceLoader.getResourceByPath
(StringSE path) リソースパスをファイルシステムパスとして解決します。ProtocolResolver.resolve
(StringSE location, ResourceLoader resourceLoader) この実装のプロトコルが一致する場合、指定されたリソースローダーに対して指定された場所を解決します。修飾子と型メソッド説明DefaultResourceLoader.getResourceCache
(ClassSE<T> valueType) Resource
をキーとして、指定された値型のキャッシュを取得します。org.springframework.core.io.buffer 内の Resource 使用
修飾子と型メソッド説明static reactor.core.publisher.Flux<DataBuffer>
DataBufferUtils.read
(Resource resource, long position, DataBufferFactory bufferFactory, int bufferSize) 指定されたResource
を、指定された位置からDataBuffer
のFlux
に読み込みます。static reactor.core.publisher.Flux<DataBuffer>
DataBufferUtils.read
(Resource resource, DataBufferFactory bufferFactory, int bufferSize) 指定されたResource
をDataBuffer
のFlux
に読み取ります。org.springframework.core.io.support 内の Resource 使用
修飾子と型メソッド説明protected Resource
PathMatchingResourcePatternResolver.convertClassLoaderURL
(URLSE url) 構成されたClassLoader
から返された指定された URL をResource
に変換し、パターンなしのパス検索に適用します (PathMatchingResourcePatternResolver.findAllClassPathResources(java.lang.String)
を参照)。protected Resource[]
PathMatchingResourcePatternResolver.findAllClassPathResources
(StringSE location) ClassLoader を介して、指定された場所のすべてのクラスの場所リソースを検索します。LocalizedResourceHelper.findLocalizedResource
(StringSE name, StringSE extension, LocaleSE locale) 指定された名前、拡張子、ロケールに最も具体的なローカライズされたリソースを見つけます。protected Resource[]
PathMatchingResourcePatternResolver.findPathMatchingResources
(StringSE locationPattern) Ant スタイルのPathMatcher
を介して、指定された場所のパターンに一致するすべてのリソースを検索します。final Resource
EncodedResource.getResource()
このEncodedResource
が保持するResource
を返します。PathMatchingResourcePatternResolver.getResource
(StringSE location) ResourceRegion.getResource()
このResourceRegion
の基礎となるResource
を返します。Resource[]
PathMatchingResourcePatternResolver.getResources
(StringSE locationPattern) Resource[]
ResourcePatternResolver.getResources
(StringSE locationPattern) 指定されたロケーションパターンをResource
オブジェクトに解決します。protected Resource
PathMatchingResourcePatternResolver.resolveRootDirResource
(Resource original) 指定されたルートディレクトリリソースを解決してパスを照合します。修飾子と型メソッド説明PathMatchingResourcePatternResolver.doFindAllClassPathResources
(StringSE path) 構成されたClassLoader
を介して、指定されたパスを持つすべてのクラスパスリソースを検索します。PathMatchingResourcePatternResolver.doFindPathMatchingFileResources
(Resource rootDirResource, StringSE subPattern) Ant スタイルのPathMatcher
を介して、指定されたルートディレクトリのファイルシステム内で、指定された場所のサブパターンに一致するすべてのリソースを検索します。PathMatchingResourcePatternResolver.doFindPathMatchingJarResources
(Resource rootDirResource, URLSE rootDirUrl, StringSE subPattern) Ant スタイルのPathMatcher
を介して、指定された場所のパターンに一致する jar ファイル内のすべてのリソースを検索します。PathMatchingResourcePatternResolver.findAllModulePathResources
(StringSE locationPattern) モジュールパスで見つかったすべての一致するリソースについて、指定された場所のパターンをResource
オブジェクトに解決します。修飾子と型メソッド説明PathMatchingResourcePatternResolver.doFindPathMatchingFileResources
(Resource rootDirResource, StringSE subPattern) Ant スタイルのPathMatcher
を介して、指定されたルートディレクトリのファイルシステム内で、指定された場所のサブパターンに一致するすべてのリソースを検索します。PathMatchingResourcePatternResolver.doFindPathMatchingJarResources
(Resource rootDirResource, URLSE rootDirUrl, StringSE subPattern) Ant スタイルのPathMatcher
を介して、指定された場所のパターンに一致する jar ファイル内のすべてのリソースを検索します。static void
PropertiesLoaderUtils.fillProperties
(PropertiesSE props, Resource resource) 特定のリソースから特定のプロパティを入力します(ISO-8859-1 エンコーディング)。protected boolean
PathMatchingResourcePatternResolver.isJarResource
(Resource resource) 指定されたリソースハンドルが、PathMatchingResourcePatternResolver.doFindPathMatchingJarResources(org.springframework.core.io.Resource, java.net.URL, java.lang.String)
メソッドが処理できる jar リソースを示しているかどうかを確認します。static PropertiesSE
PropertiesLoaderUtils.loadProperties
(Resource resource) 指定されたリソースからプロパティを読み込みます(ISO-8859-1 エンコーディング)。protected Resource
PathMatchingResourcePatternResolver.resolveRootDirResource
(Resource original) 指定されたルートディレクトリリソースを解決してパスを照合します。void
PropertiesLoaderSupport.setLocation
(Resource location) ロードするプロパティファイルの場所を設定します。void
PropertiesLoaderSupport.setLocations
(Resource... locations) ロードするプロパティファイルの場所を設定します。修飾子と型メソッド説明protected void
PathMatchingResourcePatternResolver.addAllClassLoaderJarRoots
(ClassLoaderSE classLoader, SetSE<Resource> result) すべてのURLClassLoader
SE URL で jar ファイル参照を検索し、jar ファイルコンテンツのルートへのポインターの形式で、指定されたリソースのセットにそれぞれを追加します。protected void
PathMatchingResourcePatternResolver.addClassPathManifestEntries
(SetSE<Resource> result) Class-Path
マニフェストエントリ (システムクラスローダーによってjava.class.path
JVM システムプロパティに追加される) から jar ファイル参照を特定し、それぞれを jar ファイルコンテンツのルートへのポインタの形式で指定されたリソースのセットに追加します。修飾子コンストラクター説明EncodedResource
(Resource resource) 明示的なエンコーディングまたはCharset
を指定せずに、指定されたResource
の新しいEncodedResource
を作成します。EncodedResource
(Resource resource, StringSE encoding) 指定されたencoding
を使用して、指定されたResource
の新しいEncodedResource
を作成します。EncodedResource
(Resource resource, CharsetSE charset) 指定されたCharset
を使用して、指定されたResource
の新しいEncodedResource
を作成します。ResourcePropertySource
(StringSE name, Resource resource) 指定されたエンコードされたリソースからロードされたプロパティに基づいて、指定された名前を持つ PropertySource を作成します。ResourcePropertySource
(Resource resource) 指定されたリソースからロードされたプロパティに基づいて PropertySource を作成します。ResourceRegion
(Resource resource, long position, long count) 指定されたResource
から新しいResourceRegion
を作成します。org.springframework.core.type.classreading 内の Resource 使用
修飾子と型メソッド説明CachingMetadataReaderFactory.getMetadataReader
(Resource resource) MetadataReaderFactory.getMetadataReader
(Resource resource) 指定されたリソースの MetadataReader を取得します。SimpleMetadataReaderFactory.getMetadataReader
(Resource resource) org.springframework.http 内の Resource 使用
修飾子と型メソッド説明static OptionalSE<MediaType>
MediaTypeFactory.getMediaType
(Resource resource) 可能であれば、指定されたリソースのメディア型を決定します。HttpRange.toResourceRegion
(Resource resource) static ListSE<ResourceRegion>
HttpRange.toResourceRegions
(ListSE<HttpRange> ranges, Resource resource) HTTP 範囲情報を使用して、各HttpRange
をResourceRegion
に変換し、指定されたResource
の適切なセグメントを選択します。org.springframework.http.codec 内の Resource 使用
修飾子と型メソッド説明reactor.core.publisher.Mono<VoidSE>
ResourceHttpMessageWriter.addDefaultHeaders
(ReactiveHttpOutputMessage message, Resource resource, MediaType contentType, MapSE<StringSE, ObjectSE> hints) 指定されたリソースのデフォルトヘッダーを指定されたメッセージに追加します。void
ResourceHttpMessageWriter.addHeaders
(ReactiveHttpOutputMessage message, Resource resource, MediaType contentType, MapSE<StringSE, ObjectSE> hints) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。修飾子と型メソッド説明reactor.core.publisher.Mono<VoidSE>
ResourceHttpMessageWriter.write
(Publisher<? extends Resource> inputStream, ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response, MapSE<StringSE, ObjectSE> hints) reactor.core.publisher.Mono<VoidSE>
ResourceHttpMessageWriter.write
(Publisher<? extends Resource> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, MapSE<StringSE, ObjectSE> hints) org.springframework.http.codec.multipart 内の Resource 使用
修飾子と型メソッド説明static reactor.core.publisher.Flux<FilePartEvent>
指定された名前とリソースに基づいて、FilePartEvent
オブジェクトのストリームを作成します。static reactor.core.publisher.Flux<FilePartEvent>
FilePartEvent.create
(StringSE name, Resource resource, ConsumerSE<HttpHeaders> headersConsumer) 指定された名前とリソースに基づいて、FilePartEvent
オブジェクトのストリームを作成します。org.springframework.http.converter 内の Resource 使用
修飾子と型メソッド説明protected Resource
ResourceHttpMessageConverter.readInternal
(ClassSE<? extends Resource> clazz, HttpInputMessage inputMessage) 修飾子と型メソッド説明void
ResourceHttpMessageConverter.addDefaultHeaders
(HttpOutputMessage message, Resource resource, MediaType contentType) 指定されたリソースのデフォルトヘッダーを指定されたメッセージに追加します。protected LongSE
ResourceHttpMessageConverter.getContentLength
(Resource resource, MediaType contentType) protected MediaType
ResourceHttpMessageConverter.getDefaultContentType
(Resource resource) protected boolean
ResourceHttpMessageConverter.supportsRepeatableWrites
(Resource resource) protected void
ResourceHttpMessageConverter.writeContent
(Resource resource, HttpOutputMessage outputMessage) protected void
ResourceHttpMessageConverter.writeInternal
(Resource resource, HttpOutputMessage outputMessage) 修飾子と型メソッド説明protected Resource
ResourceHttpMessageConverter.readInternal
(ClassSE<? extends Resource> clazz, HttpInputMessage inputMessage) org.springframework.jdbc.config 内の Resource 使用
org.springframework.jdbc.datasource.init 内の Resource 使用
修飾子と型メソッド説明void
データベースを初期化またはクリーンアップするために実行するスクリプトを追加します。void
ResourceDatabasePopulator.addScripts
(Resource... scripts) データベースを初期化またはクリーンアップするために実行する複数のスクリプトを追加します。static void
ScriptUtils.executeSqlScript
(ConnectionSE connection, Resource resource) ステートメント区切り文字、コメント区切り文字、例外処理フラグのデフォルト設定を使用して、指定された SQL スクリプトを実行します。void
ResourceDatabasePopulator.setScripts
(Resource... scripts) 実行するスクリプトを設定して、データベースを初期化またはクリーンアップし、以前に追加したスクリプトを置き換えます。修飾子コンストラクター説明ResourceDatabasePopulator
(boolean continueOnError, boolean ignoreFailedDrops, StringSE sqlScriptEncoding, Resource... scripts) 指定された値で新しいResourceDatabasePopulator
を構築します。ResourceDatabasePopulator
(Resource... scripts) 提供されたスクリプトのデフォルト設定で新しいResourceDatabasePopulator
を構築します。org.springframework.jdbc.support 内の Resource 使用
修飾子と型メソッド説明protected Resource
SQLErrorCodesFactory.loadResource
(StringSE path) クラスパスから特定のリソースをロードします。org.springframework.jmx.export.naming 内の Resource 使用
修飾子と型メソッド説明void
KeyNamingStrategy.setMappingLocation
(Resource location) オブジェクト名のマッピングを含む、読み込まれるプロパティファイルの場所を設定します。void
KeyNamingStrategy.setMappingLocations
(Resource... mappingLocations) オブジェクト名のマッピングを含む、ロードするプロパティファイルの場所を設定します。org.springframework.mail.javamail 内の Resource 使用
修飾子と型メソッド説明void
MimeMessage にインライン要素を追加し、org.springframework.core.io.Resource
からコンテンツを取得します。protected FileTypeMapEE
ConfigurableMimeFileTypeMap.createFileTypeMap
(Resource mappingLocation, StringSE[] mappings) 指定されたマッピングファイルのマッピングと指定されたマッピングエントリからFileTypeMap
EE をコンパイルします。void
ConfigurableMimeFileTypeMap.setMappingLocation
(Resource mappingLocation) マッピングのロード元のResource
を指定します。org.springframework.orm.hibernate5 内の Resource 使用
修飾子と型メソッド説明void
LocalSessionFactoryBean.setCacheableMappingLocations
(Resource... cacheableMappingLocations) キャッシュ可能な Hibernate マッピングファイルの場所を、たとえば Web アプリリソース "/WEB-INF/mapping/example.hbm.xml" として設定します。void
LocalSessionFactoryBean.setConfigLocation
(Resource configLocation) 単一の Hibernate XML 構成ファイルの場所を、たとえばクラスパスリソース "classpath:hibernate.cfg.xml" として設定します。void
LocalSessionFactoryBean.setConfigLocations
(Resource... configLocations) 複数の Hibernate XML 構成ファイルの場所を、たとえばクラスパスリソース "classpath:hibernate.cfg.xml、classpath:extension.cfg.xml" として設定します。void
LocalSessionFactoryBean.setMappingDirectoryLocations
(Resource... mappingDirectoryLocations) "WEB-INF/mappings" のように、Hibernate マッピングリソースを含むディレクトリの場所を設定します。void
LocalSessionFactoryBean.setMappingJarLocations
(Resource... mappingJarLocations) "WEB-INF/lib/example.hbm.jar" のように、Hibernate マッピングリソースを含む jar ファイルの場所を設定します。void
LocalSessionFactoryBean.setMappingLocations
(Resource... mappingLocations) Hibernate マッピングファイルの場所を、たとえばクラスパスリソース "classpath:example.hbm.xml" として設定します。org.springframework.oxm.jaxb 内の Resource 使用
修飾子と型メソッド説明void
検証に使用するスキーマリソースを設定します。void
Jaxb2Marshaller.setSchemas
(Resource... schemaResources) 検証に使用するスキーマリソースを設定します。org.springframework.oxm.support 内の Resource 使用
修飾子と型メソッド説明static InputSourceSE
SaxResourceUtils.createInputSource
(Resource resource) 指定されたリソースから SAXInputSource
を作成します。org.springframework.r2dbc.connection.init 内の Resource 使用
修飾子と型メソッド説明void
データベースを初期化またはクリーンアップするために実行するスクリプトを追加します。void
ResourceDatabasePopulator.addScripts
(Resource... scripts) データベースを初期化またはクリーンアップするために実行する複数のスクリプトを追加します。static reactor.core.publisher.Mono<VoidSE>
ScriptUtils.executeSqlScript
(Connection connection, Resource resource) ステートメント区切り文字、コメント区切り文字、例外処理フラグのデフォルト設定を使用して、指定された SQL スクリプトを実行します。void
ResourceDatabasePopulator.setScripts
(Resource... scripts) 実行するスクリプトを設定して、データベースを初期化またはクリーンアップし、以前に追加したスクリプトを置き換えます。修飾子コンストラクター説明ResourceDatabasePopulator
(boolean continueOnError, boolean ignoreFailedDrops, StringSE sqlScriptEncoding, Resource... scripts) 指定された値で新しいResourceDatabasePopulator
を構築します。ResourceDatabasePopulator
(Resource... scripts) 提供されたスクリプトのデフォルト設定で新しいResourceDatabasePopulator
を作成します。org.springframework.scheduling.quartz 内の Resource 使用
修飾子と型メソッド説明void
SchedulerFactoryBean.setConfigLocation
(Resource configLocation) Quartz プロパティ構成ファイルの場所を、たとえばクラスパスリソース "classpath:quartz.properties" として設定します。org.springframework.scripting.support 内の Resource 使用
org.springframework.test.context.util 内の Resource 使用
修飾子と型メソッド説明static Resource[]
TestContextResourceUtils.convertToResources
(ResourceLoader resourceLoader, StringSE... paths) 指定されたResourceLoader
を使用して、指定されたパスをResource
ハンドルの配列に変換します。修飾子と型メソッド説明TestContextResourceUtils.convertToResourceList
(ResourceLoader resourceLoader, StringSE... paths) 指定されたResourceLoader
を使用して、指定されたパスをResource
ハンドルのリストに変換します。org.springframework.test.web.client.response 内の Resource 使用
修飾子と型メソッド説明Resource
から本体を設定します。static DefaultResponseCreator
MockRestResponseCreators.withSuccess
(Resource body, MediaType contentType) Resource
ベースのボディを持つ 200 レスポンス(OK)コンテンツのResponseCreator
。org.springframework.ui.freemarker 内の Resource 使用
修飾子と型メソッド説明void
FreeMarkerConfigurationFactory.setConfigLocation
(Resource resource) FreeMarker 構成ファイルの場所を設定します。org.springframework.validation.beanvalidation 内の Resource 使用
修飾子と型メソッド説明void
LocalValidatorFactoryBean.setMappingLocations
(Resource... mappingLocations) XML 制約マッピングファイルをロードするリソースの場所を指定します(ある場合)。org.springframework.web.accept 内の Resource 使用
修飾子と型メソッド説明PathExtensionContentNegotiationStrategy.getMediaTypeForResource
(Resource resource) ServletPathExtensionContentNegotiationStrategy.getMediaTypeForResource
(Resource resource) 使用すべきではありません。基本クラスPathExtensionContentNegotiationStrategy.getMediaTypeForResource(org.springframework.core.io.Resource)
を拡張し、ServletContext を検索することもできます。org.springframework.web.context.support 内の Resource 使用
修飾子と型メソッド説明ServletContextResource.createRelative
(StringSE relativePath) この実装は ServletContextResource を作成し、このリソース記述子の元となるファイルのパスに対して指定されたパスを適用します。protected Resource
AbstractRefreshableWebApplicationContext.getResourceByPath
(StringSE path) この実装は、ServletContext のルートのファイルパスをサポートします。protected Resource
GenericWebApplicationContext.getResourceByPath
(StringSE path) この実装は、ServletContext
EE のルートにあるファイルパスをサポートします。protected Resource
ServletContextResourceLoader.getResourceByPath
(StringSE path) この実装は、Web アプリケーションのルートのファイルパスをサポートします。protected Resource
StaticWebApplicationContext.getResourceByPath
(StringSE path) この実装は、ServletContext のルートのファイルパスをサポートします。修飾子と型メソッド説明ServletContextResourcePatternResolver.doFindPathMatchingFileResources
(Resource rootDirResource, StringSE subPattern) ServletContextResource をチェックし、ServletContext.getResourcePaths
を使用して Web アプリケーションのルートディレクトリにある一致するリソースを見つけるオーバーライドバージョン。修飾子と型メソッド説明ServletContextResourcePatternResolver.doFindPathMatchingFileResources
(Resource rootDirResource, StringSE subPattern) ServletContextResource をチェックし、ServletContext.getResourcePaths
を使用して Web アプリケーションのルートディレクトリにある一致するリソースを見つけるオーバーライドバージョン。修飾子と型メソッド説明protected void
ServletContextResourcePatternResolver.doRetrieveMatchingServletContextResources
(ServletContextEE servletContext, StringSE fullPattern, StringSE dir, SetSE<Resource> result) 指定されたパターンに一致する ServletContextResources を再帰的に取得し、指定された結果セットに追加します。org.springframework.web.multipart 内の Resource 使用
org.springframework.web.reactive.config 内の Resource 使用
修飾子と型メソッド説明ResourceHandlerRegistration.setEtagGenerator
(FunctionSE<Resource, StringSE> etagGenerator) レスポンスに書き込もうとしているResource
を考慮して、ETag 情報の作成に使用されるジェネレーター関数を構成します。org.springframework.web.reactive.function 内の Resource 使用
修飾子と型メソッド説明static <T extends Resource>
BodyInserter<T,ReactiveHttpOutputMessage> BodyInserters.fromResource
(T resource) 指定されたResource
を書き込むための挿入子。org.springframework.web.reactive.function.server 内の Resource 使用
修飾子と型メソッド説明static FunctionSE<ServerRequest,
reactor.core.publisher.Mono<Resource>> RouterFunctions.resourceLookupFunction
(StringSE pattern, Resource location) RouterFunctions.resources(String, Resource)
で使用されるリソース検索関数を返します。修飾子と型メソッド説明static FunctionSE<ServerRequest,
reactor.core.publisher.Mono<Resource>> RouterFunctions.resourceLookupFunction
(StringSE pattern, Resource location) RouterFunctions.resources(String, Resource)
で使用されるリソース検索関数を返します。指定されたパターンに一致するリクエストを、指定されたルートの場所を基準としたリソースにルーティングします。RouterFunctions.Builder.resources
(StringSE pattern, Resource location, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 指定されたパターンに一致するリクエストを、指定されたルートの場所を基準としたリソースにルーティングします。static RouterFunction<ServerResponse>
指定されたパターンに一致するリクエストを、指定されたルートの場所を基準としたリソースにルーティングします。static RouterFunction<ServerResponse>
RouterFunctions.resources
(StringSE pattern, Resource location, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 指定されたパターンに一致するリクエストを、指定されたルートの場所を基準としたリソースにルーティングします。修飾子と型メソッド説明RouterFunctions.Builder.resources
(StringSE pattern, Resource location, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 指定されたパターンに一致するリクエストを、指定されたルートの場所を基準としたリソースにルーティングします。RouterFunctions.Builder.resources
(FunctionSE<ServerRequest, reactor.core.publisher.Mono<Resource>> lookupFunction) 提供された検索機能を使用してリソースにルーティングします。RouterFunctions.Builder.resources
(FunctionSE<ServerRequest, reactor.core.publisher.Mono<Resource>> lookupFunction, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 提供された検索機能を使用してリソースにルーティングします。RouterFunctions.Builder.resources
(FunctionSE<ServerRequest, reactor.core.publisher.Mono<Resource>> lookupFunction, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 提供された検索機能を使用してリソースにルーティングします。static RouterFunction<ServerResponse>
RouterFunctions.resources
(StringSE pattern, Resource location, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 指定されたパターンに一致するリクエストを、指定されたルートの場所を基準としたリソースにルーティングします。static RouterFunction<ServerResponse>
RouterFunctions.resources
(FunctionSE<ServerRequest, reactor.core.publisher.Mono<Resource>> lookupFunction) 提供された検索機能を使用してリソースにルーティングします。static RouterFunction<ServerResponse>
RouterFunctions.resources
(FunctionSE<ServerRequest, reactor.core.publisher.Mono<Resource>> lookupFunction, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 提供された検索機能を使用してリソースにルーティングします。static RouterFunction<ServerResponse>
RouterFunctions.resources
(FunctionSE<ServerRequest, reactor.core.publisher.Mono<Resource>> lookupFunction, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 提供された検索機能を使用してリソースにルーティングします。void
RouterFunctions.Visitor.resources
(FunctionSE<ServerRequest, reactor.core.publisher.Mono<Resource>> lookupFunction) リソースルーター関数の通知を受け取ります。org.springframework.web.reactive.resource 内の Resource 使用
修飾子と型クラス説明class
ResourceTransformer
がコンテンツを除く他のすべての情報を保持する元のリソースを表すために使用できるByteArrayResource
の拡張。修飾子と型メソッド説明ResourceWebHandler.getEtagGenerator()
リソースを提供するときに使用される HTTP ETag ジェネレーター関数を返します。ResourceWebHandler.getLocations()
静的リソースを提供するためのソースとして使用するResource
パスのList
を返します。protected reactor.core.publisher.Mono<Resource>
PathResourceResolver.getResource
(StringSE resourcePath, Resource location) 指定された場所でリソースを見つけます。protected reactor.core.publisher.Mono<Resource>
ResourceWebHandler.getResource
(ServerWebExchange exchange) reactor.core.publisher.Mono<Resource>
AbstractResourceResolver.resolveResource
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) reactor.core.publisher.Mono<Resource>
ResourceResolver.resolveResource
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) 指定されたリクエストを解決し、指定されたリソースロケーションの 1 つに存在するResource
へのパスをリクエストします。reactor.core.publisher.Mono<Resource>
ResourceResolverChain.resolveResource
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations) 指定されたリクエストを解決し、指定されたリソースロケーションの 1 つに存在するResource
へのパスをリクエストします。protected abstract reactor.core.publisher.Mono<Resource>
AbstractResourceResolver.resolveResourceInternal
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<Resource>
CachingResourceResolver.resolveResourceInternal
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<Resource>
EncodedResourceResolver.resolveResourceInternal
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<Resource>
PathResourceResolver.resolveResourceInternal
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<Resource>
VersionResourceResolver.resolveResourceInternal
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<Resource>
WebJarsResourceResolver.resolveResourceInternal
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) reactor.core.publisher.Mono<Resource>
CachingResourceTransformer.transform
(ServerWebExchange exchange, Resource resource, ResourceTransformerChain transformerChain) reactor.core.publisher.Mono<Resource>
CssLinkResourceTransformer.transform
(ServerWebExchange exchange, Resource inputResource, ResourceTransformerChain transformerChain) reactor.core.publisher.Mono<Resource>
ResourceTransformer.transform
(ServerWebExchange exchange, Resource resource, ResourceTransformerChain transformerChain) 指定されたリソースを変換します。reactor.core.publisher.Mono<Resource>
ResourceTransformerChain.transform
(ServerWebExchange exchange, Resource resource) 指定されたリソースを変換します。修飾子と型メソッド説明protected boolean
PathResourceResolver.checkResource
(Resource resource, Resource location) リソースが存在し、読み取り可能かどうかをチェックする以外に、解決されたリソースに対して追加のチェックを実行します。protected reactor.core.publisher.Mono<Resource>
PathResourceResolver.getResource
(StringSE resourcePath, Resource location) 指定された場所でリソースを見つけます。reactor.core.publisher.Mono<StringSE>
ContentVersionStrategy.getResourceVersion
(Resource resource) reactor.core.publisher.Mono<StringSE>
FixedVersionStrategy.getResourceVersion
(Resource resource) reactor.core.publisher.Mono<StringSE>
VersionStrategy.getResourceVersion
(Resource resource) 指定されたリソースのバージョンを決定します。protected reactor.core.publisher.Mono<StringSE>
ResourceTransformerSupport.resolveUrlPath
(StringSE resourcePath, ServerWebExchange exchange, Resource resource, ResourceTransformerChain transformerChain) トランスフォーマは、変換されるリソースに他のリソースへのリンクが含まれている場合に、このメソッドを使用できます。void
PathResourceResolver.setAllowedLocations
(Resource... locations) デフォルトでは、リソースが見つかると、解決されたリソースのパスが比較され、リソースが見つかった入力場所にあることが確認されます。protected void
ResourceWebHandler.setHeaders
(ServerWebExchange exchange, Resource resource, MediaType mediaType) レスポンスにヘッダーを設定します。reactor.core.publisher.Mono<Resource>
CachingResourceTransformer.transform
(ServerWebExchange exchange, Resource resource, ResourceTransformerChain transformerChain) reactor.core.publisher.Mono<Resource>
CssLinkResourceTransformer.transform
(ServerWebExchange exchange, Resource inputResource, ResourceTransformerChain transformerChain) reactor.core.publisher.Mono<Resource>
ResourceTransformer.transform
(ServerWebExchange exchange, Resource resource, ResourceTransformerChain transformerChain) 指定されたリソースを変換します。reactor.core.publisher.Mono<Resource>
ResourceTransformerChain.transform
(ServerWebExchange exchange, Resource resource) 指定されたリソースを変換します。修飾子と型メソッド説明reactor.core.publisher.Mono<Resource>
AbstractResourceResolver.resolveResource
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) reactor.core.publisher.Mono<Resource>
ResourceResolver.resolveResource
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) 指定されたリクエストを解決し、指定されたリソースロケーションの 1 つに存在するResource
へのパスをリクエストします。reactor.core.publisher.Mono<Resource>
ResourceResolverChain.resolveResource
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations) 指定されたリクエストを解決し、指定されたリソースロケーションの 1 つに存在するResource
へのパスをリクエストします。protected abstract reactor.core.publisher.Mono<Resource>
AbstractResourceResolver.resolveResourceInternal
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<Resource>
CachingResourceResolver.resolveResourceInternal
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<Resource>
EncodedResourceResolver.resolveResourceInternal
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<Resource>
PathResourceResolver.resolveResourceInternal
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<Resource>
VersionResourceResolver.resolveResourceInternal
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<Resource>
WebJarsResourceResolver.resolveResourceInternal
(ServerWebExchange exchange, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) reactor.core.publisher.Mono<StringSE>
AbstractResourceResolver.resolveUrlPath
(StringSE resourceUrlPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) reactor.core.publisher.Mono<StringSE>
ResourceResolver.resolveUrlPath
(StringSE resourcePath, ListSE<? extends Resource> locations, ResourceResolverChain chain) クライアントが特定の内部リソースパスにあるリソースにアクセスするために使用する、外部に面したパブリック URL パスを解決します。reactor.core.publisher.Mono<StringSE>
ResourceResolverChain.resolveUrlPath
(StringSE resourcePath, ListSE<? extends Resource> locations) クライアントが特定の内部リソースパスにあるリソースにアクセスするために使用する、外部に面したパブリック URL パスを解決します。protected abstract reactor.core.publisher.Mono<StringSE>
AbstractResourceResolver.resolveUrlPathInternal
(StringSE resourceUrlPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<StringSE>
CachingResourceResolver.resolveUrlPathInternal
(StringSE resourceUrlPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<StringSE>
EncodedResourceResolver.resolveUrlPathInternal
(StringSE resourceUrlPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<StringSE>
PathResourceResolver.resolveUrlPathInternal
(StringSE path, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<StringSE>
VersionResourceResolver.resolveUrlPathInternal
(StringSE resourceUrlPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<StringSE>
WebJarsResourceResolver.resolveUrlPathInternal
(StringSE resourceUrlPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) void
ResourceWebHandler.setEtagGenerator
(FunctionSE<Resource, StringSE> etagGenerator) レスポンスに書き込もうとしているResource
を考慮して、ETag 情報の作成に使用されるジェネレーター関数を構成します。void
ResourceWebHandler.setLocations
(ListSE<Resource> locations) 静的リソースを提供するためのソースとして使用するResource
パスのList
を設定します。org.springframework.web.reactive.result.view.script 内の Resource 使用
org.springframework.web.servlet.config.annotation 内の Resource 使用
修飾子と型メソッド説明ResourceHandlerRegistration.addResourceLocations
(Resource... locations) 事前に解決されたResource
参照に基づいて、静的リソースを提供する場所を構成します。修飾子と型メソッド説明ResourceHandlerRegistration.setEtagGenerator
(FunctionSE<Resource, StringSE> etagGenerator) レスポンスに書き込もうとしているResource
を考慮して、ETag 情報の作成に使用されるジェネレーター関数を構成します。org.springframework.web.servlet.function 内の Resource 使用
修飾子と型メソッド説明static FunctionSE<ServerRequest,
OptionalSE<Resource>> RouterFunctions.resourceLookupFunction
(StringSE pattern, Resource location) RouterFunctions.resources(String, Resource)
で使用されるリソース検索関数を返します。修飾子と型メソッド説明static FunctionSE<ServerRequest,
OptionalSE<Resource>> RouterFunctions.resourceLookupFunction
(StringSE pattern, Resource location) RouterFunctions.resources(String, Resource)
で使用されるリソース検索関数を返します。指定されたパターンに一致するリクエストを、指定されたルートの場所を基準としたリソースにルーティングします。RouterFunctions.Builder.resources
(StringSE pattern, Resource location, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 指定されたパターンに一致するリクエストを、指定されたルートの場所を基準としたリソースにルーティングします。static RouterFunction<ServerResponse>
指定されたパターンに一致するリクエストを、指定されたルートの場所を基準としたリソースにルーティングします。static RouterFunction<ServerResponse>
RouterFunctions.resources
(StringSE pattern, Resource location, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 指定されたパターンに一致するリクエストを、指定されたルートの場所を基準としたリソースにルーティングします。修飾子と型メソッド説明RouterFunctions.Builder.resources
(StringSE pattern, Resource location, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 指定されたパターンに一致するリクエストを、指定されたルートの場所を基準としたリソースにルーティングします。RouterFunctions.Builder.resources
(FunctionSE<ServerRequest, OptionalSE<Resource>> lookupFunction) 提供された検索機能を使用してリソースにルーティングします。RouterFunctions.Builder.resources
(FunctionSE<ServerRequest, OptionalSE<Resource>> lookupFunction, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 提供された検索機能を使用してリソースにルーティングします。RouterFunctions.Builder.resources
(FunctionSE<ServerRequest, OptionalSE<Resource>> lookupFunction, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 提供された検索機能を使用してリソースにルーティングします。static RouterFunction<ServerResponse>
RouterFunctions.resources
(StringSE pattern, Resource location, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 指定されたパターンに一致するリクエストを、指定されたルートの場所を基準としたリソースにルーティングします。static RouterFunction<ServerResponse>
RouterFunctions.resources
(FunctionSE<ServerRequest, OptionalSE<Resource>> lookupFunction) 提供された検索機能を使用してリソースにルーティングします。static RouterFunction<ServerResponse>
RouterFunctions.resources
(FunctionSE<ServerRequest, OptionalSE<Resource>> lookupFunction, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 提供された検索機能を使用してリソースにルーティングします。static RouterFunction<ServerResponse>
RouterFunctions.resources
(FunctionSE<ServerRequest, OptionalSE<Resource>> lookupFunction, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 提供された検索機能を使用してリソースにルーティングします。void
RouterFunctions.Visitor.resources
(FunctionSE<ServerRequest, OptionalSE<Resource>> lookupFunction) リソースルーター関数の通知を受け取ります。org.springframework.web.servlet.resource 内の Resource 使用
修飾子と型クラス説明class
ResourceTransformer
がコンテンツを除く他のすべての情報を保持する元のリソースを表すために使用できるByteArrayResource
の拡張。修飾子と型メソッド説明Resource[]
PathResourceResolver.getAllowedLocations()
protected Resource
PathResourceResolver.getResource
(StringSE resourcePath, Resource location) 指定された場所でリソースを見つけます。protected Resource
ResourceHttpRequestHandler.getResource
(HttpServletRequestEE request) AbstractResourceResolver.resolveResource
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) ResourceResolver.resolveResource
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) 指定されたリクエストを解決し、指定されたリソースロケーションの 1 つに存在するResource
へのパスをリクエストします。ResourceResolverChain.resolveResource
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations) 指定されたリクエストを解決し、指定されたリソースロケーションの 1 つに存在するResource
へのパスをリクエストします。protected abstract Resource
AbstractResourceResolver.resolveResourceInternal
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected Resource
CachingResourceResolver.resolveResourceInternal
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected Resource
EncodedResourceResolver.resolveResourceInternal
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected Resource
PathResourceResolver.resolveResourceInternal
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected Resource
VersionResourceResolver.resolveResourceInternal
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected Resource
WebJarsResourceResolver.resolveResourceInternal
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) CachingResourceTransformer.transform
(HttpServletRequestEE request, Resource resource, ResourceTransformerChain transformerChain) CssLinkResourceTransformer.transform
(HttpServletRequestEE request, Resource resource, ResourceTransformerChain transformerChain) ResourceTransformer.transform
(HttpServletRequestEE request, Resource resource, ResourceTransformerChain transformerChain) 指定されたリソースを変換します。ResourceTransformerChain.transform
(HttpServletRequestEE request, Resource resource) 指定されたリソースを変換します。修飾子と型メソッド説明ResourceHttpRequestHandler.getEtagGenerator()
リソースを提供するときに使用される HTTP ETag ジェネレーター関数を返します。PathResourceResolver.getLocationCharsets()
静的リソースの場所に関連付けられた文字セットを返します。ResourceHttpRequestHandler.getLocations()
setLocationValues
を介して提供される文字列ベースの場所とsetLocations
を介して提供される事前解決済みのResource
の場所の両方を含む、Resource
の場所の構成済みList
を返します。修飾子と型メソッド説明protected boolean
PathResourceResolver.checkResource
(Resource resource, Resource location) リソースが存在し、読み取り可能かどうかをチェックする以外に、解決されたリソースに対して追加のチェックを実行します。protected MediaType
ResourceHttpRequestHandler.getMediaType
(HttpServletRequestEE request, Resource resource) 指定されたリクエストのメディア型とそれに一致するリソースを決定します。protected Resource
PathResourceResolver.getResource
(StringSE resourcePath, Resource location) 指定された場所でリソースを見つけます。ContentVersionStrategy.getResourceVersion
(Resource resource) FixedVersionStrategy.getResourceVersion
(Resource resource) VersionStrategy.getResourceVersion
(Resource resource) 指定されたリソースのバージョンを決定します。protected StringSE
ResourceTransformerSupport.resolveUrlPath
(StringSE resourcePath, HttpServletRequestEE request, Resource resource, ResourceTransformerChain transformerChain) トランスフォーマは、変換されるリソースに他のリソースへのリンクが含まれている場合に、このメソッドを使用できます。void
PathResourceResolver.setAllowedLocations
(Resource... locations) デフォルトでは、リソースが見つかると、解決されたリソースのパスが比較され、リソースが見つかった入力場所にあることが確認されます。protected void
ResourceHttpRequestHandler.setHeaders
(HttpServletResponseEE response, Resource resource, MediaType mediaType) 指定されたサーブレットレスポンスにヘッダーを設定します。CachingResourceTransformer.transform
(HttpServletRequestEE request, Resource resource, ResourceTransformerChain transformerChain) CssLinkResourceTransformer.transform
(HttpServletRequestEE request, Resource resource, ResourceTransformerChain transformerChain) ResourceTransformer.transform
(HttpServletRequestEE request, Resource resource, ResourceTransformerChain transformerChain) 指定されたリソースを変換します。ResourceTransformerChain.transform
(HttpServletRequestEE request, Resource resource) 指定されたリソースを変換します。修飾子と型メソッド説明AbstractResourceResolver.resolveResource
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) ResourceResolver.resolveResource
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) 指定されたリクエストを解決し、指定されたリソースロケーションの 1 つに存在するResource
へのパスをリクエストします。ResourceResolverChain.resolveResource
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations) 指定されたリクエストを解決し、指定されたリソースロケーションの 1 つに存在するResource
へのパスをリクエストします。protected abstract Resource
AbstractResourceResolver.resolveResourceInternal
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected Resource
CachingResourceResolver.resolveResourceInternal
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected Resource
EncodedResourceResolver.resolveResourceInternal
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected Resource
PathResourceResolver.resolveResourceInternal
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected Resource
VersionResourceResolver.resolveResourceInternal
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected Resource
WebJarsResourceResolver.resolveResourceInternal
(HttpServletRequestEE request, StringSE requestPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) AbstractResourceResolver.resolveUrlPath
(StringSE resourceUrlPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) ResourceResolver.resolveUrlPath
(StringSE resourcePath, ListSE<? extends Resource> locations, ResourceResolverChain chain) クライアントが特定の内部リソースパスにあるリソースにアクセスするために使用する、外部に面したパブリック URL パスを解決します。ResourceResolverChain.resolveUrlPath
(StringSE resourcePath, ListSE<? extends Resource> locations) クライアントが特定の内部リソースパスにあるリソースにアクセスするために使用する、外部に面したパブリック URL パスを解決します。protected abstract StringSE
AbstractResourceResolver.resolveUrlPathInternal
(StringSE resourceUrlPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected StringSE
CachingResourceResolver.resolveUrlPathInternal
(StringSE resourceUrlPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected StringSE
EncodedResourceResolver.resolveUrlPathInternal
(StringSE resourceUrlPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected StringSE
PathResourceResolver.resolveUrlPathInternal
(StringSE resourcePath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected StringSE
VersionResourceResolver.resolveUrlPathInternal
(StringSE resourceUrlPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) protected StringSE
WebJarsResourceResolver.resolveUrlPathInternal
(StringSE resourceUrlPath, ListSE<? extends Resource> locations, ResourceResolverChain chain) void
ResourceHttpRequestHandler.setEtagGenerator
(FunctionSE<Resource, StringSE> etagGenerator) レスポンスに書き込もうとしているResource
を考慮して、ETag 情報の作成に使用されるジェネレーター関数を構成します。void
PathResourceResolver.setLocationCharsets
(MapSE<Resource, CharsetSE> locationCharsets) 場所に関連付けられた文字セットを構成します。void
ResourceHttpRequestHandler.setLocations
(ListSE<Resource> locations) 事前リソースリソースとしてリソースを提供する場所を構成します。org.springframework.web.servlet.view 内の Resource 使用
修飾子と型メソッド説明void
XmlViewResolver.setLocation
(Resource location) 使用すべきではありません。ビュー Bean を定義する XML ファイルの場所を設定します。org.springframework.web.servlet.view.script 内の Resource 使用
ResourceHttpMessageWriter.addDefaultHeaders(ReactiveHttpOutputMessage, Resource, MediaType, Map)
を推奨し、削除 = 6.2