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
ConstructorsConstructorDescriptionTasksResource
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) -
Method Summary
-
Constructor Details
-
TasksResource
public TasksResource(@Context jakarta.servlet.http.HttpServletRequest request, @Context jakarta.servlet.http.HttpServletResponse response)
-
-
Method Details
-
addTask
@POST @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response addTask(TaskParameter desc) throws jakarta.ws.rs.WebApplicationException - Throws:
jakarta.ws.rs.WebApplicationException
-
getTask
@GET @Path("/{id}") @Produces("application/json") public jakarta.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
-