类的使用
org.springframework.core.io.AbstractResource
使用AbstractResource的程序包 程序包 说明 org.springframework.core.io Generic abstraction for (file-based) resources, used throughout the framework.org.springframework.web.context.support Classes supporting theorg.springframework.web.context
package, such as WebApplicationContext implementations and various utility classes.org.springframework.web.reactive.resource Support classes for serving static resources.org.springframework.web.servlet.resource Support classes for serving static resources.org.springframework.core.io中AbstractResource的使用
org.springframework.core.io中AbstractResource的子类 修饰符和类型 类 说明 class
AbstractFileResolvingResource
Abstract base class for resources which resolve URLs into File references, such asUrlResource
orClassPathResource
.class
ByteArrayResource
Resource
implementation for a given byte array.class
ClassPathResource
Resource
implementation for class path resources.protected static class
DefaultResourceLoader.ClassPathContextResource
ClassPathResource that explicitly expresses a context-relative path through implementing the ContextResource interface.class
DescriptiveResource
SimpleResource
implementation that holds a resource description but does not point to an actually readable resource.class
FileSystemResource
class
FileUrlResource
Subclass ofUrlResource
which assumes file resolution, to the degree of implementing theWritableResource
interface for it.class
InputStreamResource
Resource
implementation for a givenInputStream
.class
PathResource
class
UrlResource
Resource
implementation forjava.net.URL
locators.class
VfsResource
JBoss VFS basedResource
implementation.org.springframework.web.context.support中AbstractResource的使用
org.springframework.web.context.support中AbstractResource的子类 修饰符和类型 类 说明 class
ServletContextResource
Resource
implementation forServletContext
resources, interpreting relative paths within the web application root directory.org.springframework.web.reactive.resource中AbstractResource的使用
org.springframework.web.reactive.resource中AbstractResource的子类 修饰符和类型 类 说明 class
TransformedResource
An extension ofByteArrayResource
that aResourceTransformer
can use to represent an original resource preserving all other information except the content.org.springframework.web.servlet.resource中AbstractResource的使用
org.springframework.web.servlet.resource中AbstractResource的子类 修饰符和类型 类 说明 class
TransformedResource
An extension ofByteArrayResource
that aResourceTransformer
can use to represent an original resource preserving all other information except the content.