Uses of Interface
org.springframework.core.io.InputStreamSource
Package
Description
Support classes for components that contribute generated code equivalent to a
runtime behavior.
Generic abstraction for (file-based) resources, used throughout the framework.
Support classes for Spring's resource abstraction.
Support classes for compiling and testing generated code.
JavaMail support for Spring's mail infrastructure.
A comprehensive set of Servlet API 6.0 mock objects, targeted at usage with
Spring's Web MVC framework.
Classes supporting the
org.springframework.web.context
package,
such as WebApplicationContext implementations and various utility classes.Multipart resolution framework for handling file uploads.
Support classes for serving static resources.
Support classes for serving static resources.
-
Uses of InputStreamSource in org.springframework.aot.generate
Modifier and TypeMethodDescriptionInMemoryGeneratedFiles.getGeneratedFile
(GeneratedFiles.Kind kind, String path) Return theInputStreamSource
of specified file.Modifier and TypeMethodDescriptionInMemoryGeneratedFiles.getGeneratedFiles
(GeneratedFiles.Kind kind) Return aMap
of the generated files of a specificGeneratedFiles.Kind
.Modifier and TypeMethodDescriptiondefault void
GeneratedFiles.addClassFile
(String path, InputStreamSource content) Add a generatedclass file
with content from the givenInputStreamSource
.void
FileSystemGeneratedFiles.addFile
(GeneratedFiles.Kind kind, String path, InputStreamSource content) void
GeneratedFiles.addFile
(GeneratedFiles.Kind kind, String path, InputStreamSource content) Add a generated file of the specifiedGeneratedFiles.Kind
with content from the givenInputStreamSource
.void
InMemoryGeneratedFiles.addFile
(GeneratedFiles.Kind kind, String path, InputStreamSource content) default void
GeneratedFiles.addResourceFile
(String path, InputStreamSource content) Add a generatedresource file
with content from the givenInputStreamSource
.default void
GeneratedFiles.addSourceFile
(String className, InputStreamSource content) Add a generatedsource file
with content from the givenInputStreamSource
. -
Uses of InputStreamSource in org.springframework.core.io
Modifier and TypeInterfaceDescriptioninterface
Extended interface for a resource that is loaded from an enclosing 'context', e.g.interface
Interface for a resource descriptor that abstracts from the actual type of underlying resource, such as a file or class path resource.interface
Extended interface for a resource that supports writing to it.Modifier and TypeClassDescriptionclass
Abstract base class for resources which resolve URLs into File references, such asUrlResource
orClassPathResource
.class
Convenience base class forResource
implementations, pre-implementing typical behavior.class
Resource
implementation for a given byte array.class
Resource
implementation for class path resources.protected static class
ClassPathResource that explicitly expresses a context-relative path through implementing the ContextResource interface.class
SimpleResource
implementation that holds a resource description but does not point to an actually readable resource.class
class
Subclass ofUrlResource
which assumes file resolution, to the degree of implementing theWritableResource
interface for it.class
Resource
implementation for a givenInputStream
.class
Resource
implementation forModule
resolution, performingModuleResource.getInputStream()
access viaModule.getResourceAsStream(java.lang.String)
.class
class
Resource
implementation forjava.net.URL
locators.class
JBoss VFS basedResource
implementation. -
Uses of InputStreamSource in org.springframework.core.io.support
Modifier and TypeClassDescriptionclass
Holder that combines aResource
descriptor with a specific encoding orCharset
to be used for reading from the resource. -
Uses of InputStreamSource in org.springframework.core.test.tools
Modifier and TypeMethodDescriptionstatic ClassFile
ClassFile.of
(String name, InputStreamSource inputStreamSource) Factory method to create a newClassFile
from the givenInputStreamSource
.static ResourceFile
ResourceFile.of
(String path, InputStreamSource inputStreamSource) Factory method to create a newResourceFile
from the givenInputStreamSource
.static SourceFile
SourceFile.of
(String path, InputStreamSource inputStreamSource) Factory method to create a newSourceFile
from the givenInputStreamSource
.static SourceFile
SourceFile.of
(InputStreamSource inputStreamSource) Factory method to create a newSourceFile
from the givenInputStreamSource
. -
Uses of InputStreamSource in org.springframework.mail.javamail
Modifier and TypeMethodDescriptionvoid
MimeMessageHelper.addAttachment
(String attachmentFilename, InputStreamSource inputStreamSource) Add an attachment to the MimeMessage, taking the content from anorg.springframework.core.io.InputStreamResource
.void
MimeMessageHelper.addAttachment
(String attachmentFilename, InputStreamSource inputStreamSource, String contentType) Add an attachment to the MimeMessage, taking the content from anorg.springframework.core.io.InputStreamResource
.void
MimeMessageHelper.addInline
(String contentId, InputStreamSource inputStreamSource, String contentType) Add an inline element to the MimeMessage, taking the content from anorg.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. -
Uses of InputStreamSource in org.springframework.mock.web
-
Uses of InputStreamSource in org.springframework.web.context.support
Modifier and TypeClassDescriptionclass
Resource
implementation forServletContext
resources, interpreting relative paths within the web application root directory. -
Uses of InputStreamSource in org.springframework.web.multipart
Modifier and TypeInterfaceDescriptioninterface
A representation of an uploaded file received in a multipart request. -
Uses of InputStreamSource in org.springframework.web.reactive.resource
Modifier and TypeInterfaceDescriptioninterface
Extended interface for aResource
to be written to an HTTP response.Modifier and TypeClassDescriptionclass
An extension ofByteArrayResource
that aResourceTransformer
can use to represent an original resource preserving all other information except the content. -
Uses of InputStreamSource in org.springframework.web.servlet.resource
Modifier and TypeInterfaceDescriptioninterface
Extended interface for aResource
to be written to an HTTP response.Modifier and TypeClassDescriptionclass
An extension ofByteArrayResource
that aResourceTransformer
can use to represent an original resource preserving all other information except the content.