Package net.bluemind.core.api
Interface Stream
- All Known Implementing Classes:
VertxStream.LocalPathStream
,VertxStream.ReadStreamStream
,VertxStreamConsumer
,VertxStreamProducer
public interface Stream
Marker interface used to model binary streams
-
Method Details
-
charset
- Returns:
- an optional charset name (eg. UTF-8)
-
mime
- Returns:
- an optional mime type (eg. text/html)
-
fileName
A non emptyOptional
will add a content-disposition filename header when theStream
is sent over http. Only ascii chars will be preserved when the filename is sent.- Returns:
- an optional filename
-