@RestController public class TaskAttachmentContentResource extends TaskBaseResource
historyService, restResponseFactory, taskService
Constructor and Description |
---|
TaskAttachmentContentResource() |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<byte[]> |
getAttachmentContent(String taskId,
String attachmentId,
javax.servlet.http.HttpServletResponse response) |
addProcessvariables, addTaskvariables, getDelegationState, getHistoricTaskFromRequest, getTaskFromRequest, getTasksFromQueryRequest, populateTaskFromRequest
@RequestMapping(value="/runtime/tasks/{taskId}/attachments/{attachmentId}/content", method=GET) public org.springframework.http.ResponseEntity<byte[]> getAttachmentContent(@PathVariable(value="taskId") String taskId, @PathVariable(value="attachmentId") String attachmentId, javax.servlet.http.HttpServletResponse response)
Copyright © 2016 Alfresco. All rights reserved.