Class GeneralDownloadResponseV1
java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.v1.responses.GeneralDownloadResponseV1
- All Implemented Interfaces:
AbstractMiddlewareOutputInterface,GeneralDownloadOutputInterface
Response wrapper for the general file download endpoint. Carries the file
content stream and metadata needed to produce the HTTP response.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for contentTypeGetter for filenameGetter for inputStreamvoidsetContentType(String contentType) Setter for contentTypevoidsetFilename(String filename) Setter for filenamevoidsetInputStream(InputStream inputStream) Setter for inputStream
-
Constructor Details
-
GeneralDownloadResponseV1
public GeneralDownloadResponseV1()
-
-
Method Details
-
setInputStream
Setter for inputStream- Specified by:
setInputStreamin interfaceGeneralDownloadOutputInterface
-
setContentType
Setter for contentType- Specified by:
setContentTypein interfaceGeneralDownloadOutputInterface
-
setFilename
Setter for filename- Specified by:
setFilenamein interfaceGeneralDownloadOutputInterface
-
getInputStream
Getter for inputStream -
getContentType
Getter for contentType -
getFilename
Getter for filename
-