List of usage examples for org.springframework.core.io InputStreamSource interface-usage
From source file org.brekka.pegasus.core.model.Attachment.java
/** * A plain attachment for sending with an e-mail * * @author Andrew Taylor (andrew@brekka.org) */ public interface Attachment extends InputStreamSource {
From source file com.nortal.jroad.model.XRoadAttachment.java
/**
* XTee messages are sometimes allowed to contain MIME attachments, which this class encapsulates. Each attachment has
* MIME content-type, data (content) and unique ID. This class implements {@link InputStreamSource} for a nice fit into
* Spring-WS and provides easy access to attachment content. Attachments are the preferred way of transporting large
* amounts of data because transmitting attachments requires much less bandwidth and resources (base64 etc) than
* transmitting the same data within SOAP messages without attachments.
From source file com.nortal.jroad.model.XTeeAttachment.java
/**
* XTee messages are sometimes allowed to contain MIME attachments, which this class encapsulates. Each attachment has
* MIME content-type, data (content) and unique ID. This class implements {@link InputStreamSource} for a nice fit into
* Spring-WS and provides easy access to attachment content. Attachments are the preferred way of transporting large
* amounts of data because transmitting attachments requires much less bandwidth and resources (base64 etc) than
* transmitting the same data within SOAP messages without attachments.
From source file org.springframework.web.multipart.MultipartFile.java
/**
* A representation of an uploaded file received in a multipart request.
*
* <p>The file contents are either stored in memory or temporarily on disk.
* In either case, the user is responsible for copying file contents to a
* session-level or persistent store as and if desired. The temporary storage
From source file com.gisgraphy.client.impl.gisgraphyserver.HttpGisgraphyQueryInputStreamSource.java
class HttpGisgraphyQueryInputStreamSource implements InputStreamSource { private final static Logger logger = LoggerFactory.getLogger(HttpGisgraphyQueryInputStreamSource.class); private HttpClientTemplate httpClientTemplate; private HttpGet httpGet; private GisgraphyQuery query;