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 TypeMethodDescriptionGeneratedFiles.FileHandler.getContent()Return anInputStreamSourcefor the content of the file ornullif the file does not exist.InMemoryGeneratedFiles.getGeneratedFile(GeneratedFiles.Kind kind, String path) Return theInputStreamSourceof specified file.Methods in org.springframework.aot.generate that return types with arguments of type InputStreamSourceModifier and TypeMethodDescriptionInMemoryGeneratedFiles.getGeneratedFiles(GeneratedFiles.Kind kind) Return aMapof the generated files of a specificGeneratedFiles.Kind.Methods in org.springframework.aot.generate with parameters of type InputStreamSourceModifier and TypeMethodDescriptiondefault voidGeneratedFiles.addClassFile(String path, InputStreamSource content) Add a generatedclass filewith content from the givenInputStreamSource.default voidGeneratedFiles.addFile(GeneratedFiles.Kind kind, String path, InputStreamSource content) Add a generated file of the specifiedGeneratedFiles.Kindwith content from the givenInputStreamSource.default voidGeneratedFiles.addResourceFile(String path, InputStreamSource content) Add a generatedresource filewith content from the givenInputStreamSource.default voidGeneratedFiles.addSourceFile(String className, InputStreamSource content) Add a generatedsource filewith content from the givenInputStreamSource.protected abstract voidGeneratedFiles.FileHandler.copy(InputStreamSource content, boolean override) voidGeneratedFiles.FileHandler.create(InputStreamSource content) Create a file with the given content.voidGeneratedFiles.FileHandler.override(InputStreamSource content) Override the content of the file handled by this instance using the given content.Constructor parameters in org.springframework.aot.generate with type arguments of type InputStreamSourceModifierConstructorDescriptionprotectedFileHandler(boolean exists, Supplier<InputStreamSource> existingContent) -
Uses of InputStreamSource in org.springframework.core.io
Subinterfaces of InputStreamSource in org.springframework.core.ioModifier and TypeInterfaceDescriptioninterfaceExtended interface for a resource that is loaded from an enclosing 'context', for example, from aServletContextbut also from plain classpath paths or relative file system paths (specified without an explicit prefix, hence applying relative to the localResourceLoader's context).interfaceInterface for a resource descriptor that abstracts from the actual type of underlying resource, such as a file or class path resource.interfaceExtended interface for a resource that supports writing to it.Classes in org.springframework.core.io that implement InputStreamSourceModifier and TypeClassDescriptionclassAbstract base class for resources which resolve URLs into File references, such asUrlResourceorClassPathResource.classConvenience base class forResourceimplementations, pre-implementing typical behavior.classResourceimplementation for a given byte array.classResourceimplementation for class path resources.protected static classClassPathResource that explicitly expresses a context-relative path through implementing the ContextResource interface.classSimpleResourceimplementation that holds a resource description but does not point to an actually readable resource.classclassSubclass ofUrlResourcewhich assumes file resolution, to the degree of implementing theWritableResourceinterface for it.classResourceimplementation for a givenInputStreamor a givenInputStreamSource(which can be supplied as a lambda expression) for a lazyInputStreamon demand.classResourceimplementation forModuleresolution, performingModuleResource.getInputStream()access viaModule.getResourceAsStream(String).classDeprecated, for removal: This API element is subject to removal in a future version.classResourceimplementation forjava.net.URLlocators.classJBoss VFS basedResourceimplementation.Constructors in org.springframework.core.io with parameters of type InputStreamSourceModifierConstructorDescriptionInputStreamResource(InputStreamSource inputStreamSource) Create a newInputStreamResourcewith a lazyInputStreamfor single use.InputStreamResource(InputStreamSource inputStreamSource, @Nullable String description) Create a newInputStreamResourcewith a lazyInputStreamfor single use. -
Uses of InputStreamSource in org.springframework.core.io.support
Classes in org.springframework.core.io.support that implement InputStreamSourceModifier and TypeClassDescriptionclassHolder that combines aResourcedescriptor with a specific encoding orCharsetto 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 ClassFileClassFile.of(String name, InputStreamSource inputStreamSource) Factory method to create a newClassFilefrom the givenInputStreamSource.static ResourceFileResourceFile.of(String path, InputStreamSource inputStreamSource) Factory method to create a newResourceFilefrom the givenInputStreamSource.static SourceFileSourceFile.of(@Nullable String path, InputStreamSource inputStreamSource) Factory method to create a newSourceFilefrom the givenInputStreamSource.static SourceFileSourceFile.of(InputStreamSource inputStreamSource) Factory method to create a newSourceFilefrom 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 newSqlBinaryValuefor the given content. -
Uses of InputStreamSource in org.springframework.mail.javamail
Methods in org.springframework.mail.javamail with parameters of type InputStreamSourceModifier and TypeMethodDescriptionvoidMimeMessageHelper.addAttachment(String attachmentFilename, InputStreamSource inputStreamSource) Add an attachment to the MimeMessage, taking the content from anorg.springframework.core.io.InputStreamResource.voidMimeMessageHelper.addAttachment(String attachmentFilename, InputStreamSource inputStreamSource, String contentType) Add an attachment to the MimeMessage, taking the content from anorg.springframework.core.io.InputStreamResource.voidMimeMessageHelper.addInline(String contentId, String inlineFilename, InputStreamSource inputStreamSource) Add an inline element to the MimeMessage, taking the content from anorg.springframework.core.InputStreamResource, and specifying the inline fileName explicitly.voidMimeMessageHelper.addInline(String contentId, String inlineFilename, InputStreamSource inputStreamSource, String contentType) Add an inline element to the MimeMessage, taking the content from anorg.springframework.core.InputStreamResource, and specifying the inline fileName and content type explicitly.voidMimeMessageHelper.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 jakarta.activation.DataSourceMimeMessageHelper.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 TypeClassDescriptionclassResourceimplementation forServletContextresources, 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 TypeInterfaceDescriptioninterfaceA 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 TypeInterfaceDescriptioninterfaceExtended interface for aResourceto be written to an HTTP response.Classes in org.springframework.web.reactive.resource that implement InputStreamSourceModifier and TypeClassDescriptionclassAn extension ofByteArrayResourcethat aResourceTransformercan 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 TypeInterfaceDescriptioninterfaceExtended interface for aResourceto be written to an HTTP response.Classes in org.springframework.web.servlet.resource that implement InputStreamSourceModifier and TypeClassDescriptionclassAn extension ofByteArrayResourcethat aResourceTransformercan use to represent an original resource preserving all other information except the content.
FileSystemResource