public interface Stream
| Modifier and Type | Method and Description |
|---|---|
default java.util.Optional<java.lang.String> |
charset()
A non empty
Optional will alter the Content-Type header
when the Stream is sent over http |
default java.util.Optional<java.lang.String> |
fileName()
A non empty
Optional will add a content-disposition
filename header when the Stream is sent over http. |
default java.util.Optional<java.lang.String> |
mime()
A non empty
Optional will alter the Content-Type header
when the Stream is sent over http |
default java.util.Optional<java.lang.String> charset()
Optional will alter the Content-Type header
when the Stream is sent over httpdefault java.util.Optional<java.lang.String> mime()
Optional will alter the Content-Type header
when the Stream is sent over httpdefault java.util.Optional<java.lang.String> fileName()
Optional will add a content-disposition
filename header when the Stream is sent over http. Only ascii chars
will be preserved when the filename is sent.Copyright © 2022. All Rights Reserved.