@RestController public class LineOutboundContentResource extends Object
Modifier and Type | Field and Description |
---|---|
protected CoreContentService |
contentService |
protected PlatformIdentityService |
identityService |
protected com.nimbusds.jwt.proc.JWTProcessor<com.nimbusds.jose.proc.SecurityContext> |
jwtProcessor |
protected RenditionService |
renditionService |
protected ResponseEntityHelper |
responseEntityHelper |
Constructor and Description |
---|
LineOutboundContentResource(PlatformIdentityService identityService,
CoreContentService contentService,
RenditionService renditionService,
ResponseEntityHelper responseEntityHelper,
String tokenSigningSecret) |
Modifier and Type | Method and Description |
---|---|
protected ResponseEntity<byte[]> |
getContentItemData(String contentId) |
protected ResponseEntity<byte[]> |
getContentItemThumbnailData(String contentId) |
ResponseEntity<byte[]> |
getInternalMedia(String mediaAccessToken,
boolean preview) |
protected final PlatformIdentityService identityService
protected final CoreContentService contentService
protected final RenditionService renditionService
protected final ResponseEntityHelper responseEntityHelper
protected final com.nimbusds.jwt.proc.JWTProcessor<com.nimbusds.jose.proc.SecurityContext> jwtProcessor
public LineOutboundContentResource(PlatformIdentityService identityService, CoreContentService contentService, RenditionService renditionService, ResponseEntityHelper responseEntityHelper, String tokenSigningSecret)
@GetMapping(value="/line-content-outbound/{mediaAccessToken}/data") public ResponseEntity<byte[]> getInternalMedia(@PathVariable String mediaAccessToken, @RequestParam(name="preview",defaultValue="false") boolean preview)
protected ResponseEntity<byte[]> getContentItemData(String contentId)
protected ResponseEntity<byte[]> getContentItemThumbnailData(String contentId)