Class RecordFieldDownloadResponseV1
java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.v1.responses.RecordFieldDownloadResponseV1
- All Implemented Interfaces:
AbstractMiddlewareOutputInterface,RecordFieldDownloadOutputInterface
public class RecordFieldDownloadResponseV1
extends Object
implements RecordFieldDownloadOutputInterface
Response wrapper for the record field download endpoint. Carries the binary
content and metadata needed to produce the HTTP response.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytes()Getter for bytesGetter for contentTypeGetter for filenameGetter for redirectUrlvoidsetBytes(byte[] bytes) Setter for bytesvoidsetContentType(String contentType) Setter for contentTypevoidsetFilename(String filename) Setter for filenamevoidsetRedirectUrl(String url) Setter for redirectUrl
-
Constructor Details
-
RecordFieldDownloadResponseV1
public RecordFieldDownloadResponseV1()
-
-
Method Details
-
setBytes
public void setBytes(byte[] bytes) Setter for bytes- Specified by:
setBytesin interfaceRecordFieldDownloadOutputInterface
-
setContentType
Setter for contentType- Specified by:
setContentTypein interfaceRecordFieldDownloadOutputInterface
-
setFilename
Setter for filename- Specified by:
setFilenamein interfaceRecordFieldDownloadOutputInterface
-
getBytes
public byte[] getBytes()Getter for bytes -
getContentType
Getter for contentType -
getFilename
Getter for filename -
setRedirectUrl
Setter for redirectUrl- Specified by:
setRedirectUrlin interfaceRecordFieldDownloadOutputInterface
-
getRedirectUrl
Getter for redirectUrl
-