@Controller public class ContentReuseFrameworkController extends Object
| Constructor and Description |
|---|
ContentReuseFrameworkController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<byte[]> |
thumbnailByUrl(String url,
String size,
String type,
javax.servlet.http.HttpServletResponse response) |
@RequestMapping(value="/v2/thumbnail-by-url.json",
method=GET)
public org.springframework.http.ResponseEntity<byte[]> thumbnailByUrl(@RequestParam(value="uri",required=false)
String url,
@RequestParam(value="size",required=false,defaultValue="FULL_DOC")
String size,
@RequestParam(value="type",required=false,defaultValue="IMAGE")
String type,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOExceptionCopyright © 2017. All rights reserved.