Class TasksResource
java.lang.Object
io.goobi.viewer.api.rest.v1.tasks.TasksResource
Create and monitor (possibly time consuming)
tasks
within the viewer. These tasks are managed by the TaskManager
- Author:
- florian
-
Constructor Summary
ConstructorDescriptionTasksResource
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) -
Method Summary
-
Constructor Details
-
TasksResource
public TasksResource(@Context javax.servlet.http.HttpServletRequest request, @Context javax.servlet.http.HttpServletResponse response)
-
-
Method Details
-
addTask
@POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response addTask(TaskParameter desc) throws javax.ws.rs.WebApplicationException - Throws:
javax.ws.rs.WebApplicationException
-
getTask
@GET @Path("/{id}") @Produces("application/json") public javax.ws.rs.core.Response getTask(@PathParam("id") String id) throws de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException - Throws:
de.unigoettingen.sub.commons.contentlib.exceptions.ContentNotFoundException
-
getTasks
-
isAuthorized
-