Class LineOutboundContentResource
java.lang.Object
com.flowable.engage.external.system.line.rest.LineOutboundContentResource
An internal endpoint providing special type of accessing content send from Engage to LINE.
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CoreContentService
protected final PlatformIdentityService
protected final com.nimbusds.jwt.proc.JWTProcessor<com.nimbusds.jose.proc.SecurityContext>
protected final RenditionService
protected final ResponseEntityHelper
-
Constructor Summary
ConstructorsConstructorDescriptionLineOutboundContentResource
(PlatformIdentityService identityService, CoreContentService contentService, RenditionService renditionService, ResponseEntityHelper responseEntityHelper, String tokenSigningSecret) -
Method Summary
Modifier and TypeMethodDescriptionprotected ResponseEntity<Resource>
getContentItemData
(String contentId) protected ResponseEntity<Resource>
getContentItemThumbnailData
(String contentId) getInternalMedia
(String mediaAccessToken, boolean preview)
-
Field Details
-
identityService
-
contentService
-
renditionService
-
responseEntityHelper
-
jwtProcessor
protected final com.nimbusds.jwt.proc.JWTProcessor<com.nimbusds.jose.proc.SecurityContext> jwtProcessor
-
-
Constructor Details
-
LineOutboundContentResource
public LineOutboundContentResource(PlatformIdentityService identityService, CoreContentService contentService, RenditionService renditionService, ResponseEntityHelper responseEntityHelper, String tokenSigningSecret)
-
-
Method Details
-
getInternalMedia
@GetMapping("/line-content-outbound/{mediaAccessToken}/data") public ResponseEntity<Resource> getInternalMedia(@PathVariable String mediaAccessToken, @RequestParam(name="preview",defaultValue="false") boolean preview) -
getContentItemData
-
getContentItemThumbnailData
-