Package org.flowable.ui.admin.service
Class AttachmentResponseInfo
- java.lang.Object
-
- org.flowable.ui.admin.service.ResponseInfo
-
- org.flowable.ui.admin.service.AttachmentResponseInfo
-
public class AttachmentResponseInfo extends ResponseInfo
- Author:
- Bassam Al-Sarori
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]bytesprotected StringfileName-
Fields inherited from class org.flowable.ui.admin.service.ResponseInfo
content, statusCode
-
-
Constructor Summary
Constructors Constructor Description AttachmentResponseInfo(int statusCode, com.fasterxml.jackson.databind.JsonNode content)AttachmentResponseInfo(String fileName, byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBytes()StringgetFileName()-
Methods inherited from class org.flowable.ui.admin.service.ResponseInfo
getContent, getStatusCode, isSuccess
-
-
-
-
Field Detail
-
fileName
protected String fileName
-
bytes
protected byte[] bytes
-
-
Constructor Detail
-
AttachmentResponseInfo
public AttachmentResponseInfo(String fileName, byte[] bytes)
-
AttachmentResponseInfo
public AttachmentResponseInfo(int statusCode, com.fasterxml.jackson.databind.JsonNode content)
-
-
Method Detail
-
getFileName
public String getFileName()
-
getBytes
public byte[] getBytes()
-
-