Package com.appslandia.plum.results
Class ByteArrayResult
- java.lang.Object
-
- com.appslandia.plum.results.DownloadResult
-
- com.appslandia.plum.results.ByteArrayResult
-
- All Implemented Interfaces:
ActionResult
public class ByteArrayResult extends DownloadResult
- Author:
- Loc Ha
-
-
Field Summary
-
Fields inherited from interface com.appslandia.plum.base.ActionResult
EMPTY
-
-
Constructor Summary
Constructors Constructor Description ByteArrayResult(byte[] content, String fileName, String contentType)ByteArrayResult(byte[] content, String fileName, String contentType, boolean inline)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidwriteContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)-
Methods inherited from class com.appslandia.plum.results.DownloadResult
execute
-
-
-
-
Method Detail
-
writeContent
protected void writeContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException- Specified by:
writeContentin classDownloadResult- Throws:
IOException
-
-