Uses of Interface
org.springframework.core.io.InputStreamSource
Packages that use 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.
Classes supporting the
org.springframework.jdbc.core
package.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
Methods in org.springframework.aot.generate that return InputStreamSourceModifier and TypeMethodDescriptionInMemoryGeneratedFiles.getGeneratedFile
(GeneratedFiles.Kind kind, String path) Return theInputStreamSource
of specified file.Methods in org.springframework.aot.generate that return types with arguments of type InputStreamSourceModifier and TypeMethodDescriptionInMemoryGeneratedFiles.getGeneratedFiles
(GeneratedFiles.Kind kind) Return aMap
of the generated files of a specificGeneratedFiles.Kind
.Methods in org.springframework.aot.generate with parameters of type InputStreamSourceModifier 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
Subinterfaces of InputStreamSource in org.springframework.core.ioModifier 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.Classes in org.springframework.core.io that implement InputStreamSourceModifier 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
Classes in org.springframework.core.io.support that implement InputStreamSourceModifier 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
Methods in org.springframework.core.test.tools with parameters of type InputStreamSourceModifier 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.jdbc.core.support
Constructors in org.springframework.jdbc.core.support with parameters of type InputStreamSourceModifierConstructorDescriptionSqlBinaryValue
(InputStreamSource resource, long length) Create a newSqlBinaryValue
for the given content. -
Uses of InputStreamSource in org.springframework.mail.javamail
Methods in org.springframework.mail.javamail with parameters of type InputStreamSourceModifier 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
Classes in org.springframework.mock.web that implement InputStreamSource -
Uses of InputStreamSource in org.springframework.web.context.support
Classes in org.springframework.web.context.support that implement InputStreamSourceModifier and TypeClassDescriptionclass
Resource
implementation forServletContext
resources, interpreting relative paths within the web application root directory. -
Uses of InputStreamSource in org.springframework.web.multipart
Subinterfaces of InputStreamSource in org.springframework.web.multipartModifier and TypeInterfaceDescriptioninterface
A representation of an uploaded file received in a multipart request. -
Uses of InputStreamSource in org.springframework.web.reactive.resource
Subinterfaces of InputStreamSource in org.springframework.web.reactive.resourceModifier and TypeInterfaceDescriptioninterface
Extended interface for aResource
to be written to an HTTP response.Classes in org.springframework.web.reactive.resource that implement InputStreamSourceModifier 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
Subinterfaces of InputStreamSource in org.springframework.web.servlet.resourceModifier and TypeInterfaceDescriptioninterface
Extended interface for aResource
to be written to an HTTP response.Classes in org.springframework.web.servlet.resource that implement InputStreamSourceModifier and TypeClassDescriptionclass
An extension ofByteArrayResource
that aResourceTransformer
can use to represent an original resource preserving all other information except the content.