Package nl.b3p.web.stripes
Class DirectResponseResolution
java.lang.Object
net.sourceforge.stripes.action.StreamingResolution
nl.b3p.web.stripes.DirectResponseResolution
- All Implemented Interfaces:
net.sourceforge.stripes.action.Resolution
public class DirectResponseResolution
extends net.sourceforge.stripes.action.StreamingResolution
- Author:
- matthijsln
-
Constructor Summary
ConstructorDescriptionDirectResponseResolution
(int status, String message) DirectResponseResolution
(int status, org.json.JSONObject json) DirectResponseResolution
(String message) DirectResponseResolution
(org.json.JSONObject json) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
stream
(javax.servlet.http.HttpServletResponse response) Methods inherited from class net.sourceforge.stripes.action.StreamingResolution
applyHeaders, execute, parseRangeHeader, setAttachment, setCharacterEncoding, setFilename, setLastModified, setLength, setRangeSupport
-
Constructor Details
-
DirectResponseResolution
-
DirectResponseResolution
-
DirectResponseResolution
public DirectResponseResolution(org.json.JSONObject json) -
DirectResponseResolution
public DirectResponseResolution(int status, org.json.JSONObject json)
-
-
Method Details
-
stream
- Overrides:
stream
in classnet.sourceforge.stripes.action.StreamingResolution
- Throws:
Exception
-