AbstractJvmResourceResolver

JvmResourceResolver 的更安全的抽象类型,将 resolveUnknown 固定为 final

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
override fun resolveUnknown(resource: Resource, context: C)

默认实现会额外处理JVM下更多的类型解析,通常不应重写此函数。

Inherited functions

Link copied to clipboard
fun <C> ResourceResolver<C>.resolve(resource: Resource, context: C)

使用 this 解析 resource.

Link copied to clipboard
abstract fun resolveByteArray(resource: ByteArrayResource, context: C)

处理一个 ByteArrayResource 类型的 resource.

Link copied to clipboard
abstract fun resolveFile(resource: FileResource, context: C)

处理类型为 FileResource 的 resource.

Link copied to clipboard
abstract fun resolvePath(resource: PathResource, context: C)

处理类型为 PathResource 的 resource.

Link copied to clipboard
abstract fun resolveString(resource: StringResource, context: C)

处理一个 StringResource 类型的 resource.

Link copied to clipboard
abstract fun resolveUnknownInternal(resource: Resource, context: C)

在JVM平台下的 resolve unknown。

Link copied to clipboard
abstract fun resolveURI(resource: URIResource, context: C)

处理类型为 URIResource 的 resource.