com.goonit.imapi.jaxrs.servlet.isim
Class poster
java.lang.Object
com.goonit.imapi.jaxrs.servlet.isim.poster
public class poster
- extends java.lang.Object
poster
is a RESTful service echos posts back to the users browser as a file to be downloaded.
It is used by Ajax clients to export data from the browser
This class has a Path
annotation with the value "poster" which
means the resource will be available at:
http://<hostname>:<port>/<context root>/goonapi/poster/{filename}
Method Summary |
javax.ws.rs.core.Response |
POST(java.lang.String data,
java.lang.String reportName)
Processes a POST and echos the received data as a file to download. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
poster
public poster()
POST
public javax.ws.rs.core.Response POST(java.lang.String data,
java.lang.String reportName)
- Processes a POST and echos the received data as a file to download.
- Parameters:
filename
- the name of the file to be received by the browser.
- Returns:
- a file containing the posted data.