Class TaskAttachmentResource
- java.lang.Object
-
- org.flowable.rest.service.api.runtime.task.TaskBaseResource
-
- org.flowable.rest.service.api.runtime.task.TaskAttachmentResource
-
@RestController public class TaskAttachmentResource extends TaskBaseResource
- Author:
- Frederik Heremans
-
-
Field Summary
-
Fields inherited from class org.flowable.rest.service.api.runtime.task.TaskBaseResource
historyService, restApiInterceptor, restResponseFactory, taskService
-
-
Constructor Summary
Constructors Constructor Description TaskAttachmentResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteAttachment(String taskId, String attachmentId, javax.servlet.http.HttpServletResponse response)AttachmentResponsegetAttachment(String taskId, String attachmentId, javax.servlet.http.HttpServletRequest request)-
Methods inherited from class org.flowable.rest.service.api.runtime.task.TaskBaseResource
addProcessvariables, addTaskvariables, getDelegationState, getHistoricTaskFromRequest, getHistoricTaskFromRequestWithoutAccessCheck, getTaskFromRequest, getTaskFromRequestWithoutAccessCheck, getTasksFromIdList, getTasksFromQueryRequest, populateTaskFromRequest, populateTasksFromRequest
-
-
-
-
Method Detail
-
getAttachment
@GetMapping(value="/runtime/tasks/{taskId}/attachments/{attachmentId}", produces="application/json") public AttachmentResponse getAttachment(@PathVariable("taskId") String taskId, @PathVariable("attachmentId") String attachmentId, javax.servlet.http.HttpServletRequest request)
-
-