Package | Description |
---|---|
org.springframework.core.io |
Generic abstraction for (file-based) resources, used throughout the framework.
|
org.springframework.core.io.support |
Support classes for Spring's resource abstraction.
|
org.springframework.mail.javamail |
JavaMail support for Spring's mail infrastructure.
|
org.springframework.mock.web |
A comprehensive set of Servlet API 4.0 mock objects, targeted at usage with
Spring's Web MVC framework.
|
org.springframework.web.context.support |
Classes supporting the
org.springframework.web.context package,
such as WebApplicationContext implementations and various utility classes. |
org.springframework.web.multipart |
Multipart resolution framework for handling file uploads.
|
org.springframework.web.multipart.commons |
MultipartResolver implementation for
Apache Commons FileUpload.
|
org.springframework.web.reactive.resource |
Support classes for serving static resources.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ContextResource
Extended interface for a resource that is loaded from an enclosing
'context', e.g.
|
interface |
Resource
Interface for a resource descriptor that abstracts from the actual
type of underlying resource, such as a file or class path resource.
|
interface |
WritableResource
Extended interface for a resource that supports writing to it.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFileResolvingResource
Abstract base class for resources which resolve URLs into File references,
such as
UrlResource or ClassPathResource . |
class |
AbstractResource
Convenience base class for
Resource implementations,
pre-implementing typical behavior. |
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
Simple
Resource implementation that holds a resource description
but does not point to an actually readable resource. |
class |
FileSystemResource
|
class |
FileUrlResource
Subclass of
UrlResource which assumes file resolution, to the degree
of implementing the WritableResource interface for it. |
class |
InputStreamResource
Resource implementation for a given InputStream . |
class |
PathResource
|
class |
UrlResource
Resource implementation for java.net.URL locators. |
class |
VfsResource
JBoss VFS based
Resource implementation. |
Modifier and Type | Class and Description |
---|---|
class |
EncodedResource
Holder that combines a
Resource descriptor with a specific encoding
or Charset to be used for reading from the resource. |
Modifier and Type | Method and Description |
---|---|
void |
MimeMessageHelper.addAttachment(String attachmentFilename,
InputStreamSource inputStreamSource)
Add an attachment to the MimeMessage, taking the content from an
org.springframework.core.io.InputStreamResource . |
void |
MimeMessageHelper.addAttachment(String attachmentFilename,
InputStreamSource inputStreamSource,
String contentType)
Add an attachment to the MimeMessage, taking the content from an
org.springframework.core.io.InputStreamResource . |
void |
MimeMessageHelper.addInline(String contentId,
InputStreamSource inputStreamSource,
String contentType)
Add an inline element to the MimeMessage, taking the content from an
org.springframework.core.InputStreamResource , and
specifying the content type explicitly. |
protected DataSource |
MimeMessageHelper.createDataSource(InputStreamSource inputStreamSource,
String contentType,
String name)
Create an Activation Framework DataSource for the given InputStreamSource.
|
Modifier and Type | Class and Description |
---|---|
class |
MockMultipartFile
Mock implementation of the
MultipartFile
interface. |
Modifier and Type | Class and Description |
---|---|
class |
ServletContextResource
Resource implementation for
ServletContext resources, interpreting
relative paths within the web application root directory. |
Modifier and Type | Interface and Description |
---|---|
interface |
MultipartFile
A representation of an uploaded file received in a multipart request.
|
Modifier and Type | Class and Description |
---|---|
class |
CommonsMultipartFile
MultipartFile implementation for Apache Commons FileUpload. |
Modifier and Type | Interface and Description |
---|---|
interface |
HttpResource
Extended interface for a
Resource to be written to an
HTTP response. |
Modifier and Type | Class and Description |
---|---|
class |
TransformedResource
An extension of
ByteArrayResource that a ResourceTransformer
can use to represent an original resource preserving all other information
except the content. |