.. java:import:: java.io File .. java:import:: java.io IOException .. java:import:: org.caosdb.server FileSystem .. java:import:: org.caosdb.server.database.backend.implementation MySQL.ConnectionException .. java:import:: org.caosdb.server.utils FileUtils .. java:import:: org.caosdb.server.utils ServerMessages .. java:import:: org.jdom2 JDOMException .. java:import:: org.restlet.data Disposition .. java:import:: org.restlet.data MediaType .. java:import:: org.restlet.data Status .. java:import:: org.restlet.representation FileRepresentation .. java:import:: org.restlet.representation Representation SharedFileResource ================== .. java:package:: org.caosdb.server.resource :noindex: .. java:type:: public class SharedFileResource extends AbstractCaosDBServerResource Download temporary files via GET method only. :author: Daniel Hornung Methods ------- getFile ^^^^^^^ .. java:method:: protected File getFile(String path) throws IOException :outertype: SharedFileResource httpGetInChildClass ^^^^^^^^^^^^^^^^^^^ .. java:method:: @Override protected Representation httpGetInChildClass() throws Exception :outertype: SharedFileResource Download a File from the tempfiles folder. Only one File per Request. :author: Daniel Hornung :throws IOException: :return: InputRepresentation httpPostInChildClass ^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Override protected Representation httpPostInChildClass(Representation entity) throws ConnectionException, JDOMException :outertype: SharedFileResource