@Controller public class StyleController extends Object
| Constructor and Description |
|---|
StyleController(StyleService styleService) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity |
getThemeCss(String bootstrapVersion,
String theme,
javax.servlet.http.HttpServletResponse response) |
ErrorMessageResponse |
handleStyleException(Exception e) |
public StyleController(StyleService styleService)
@GetMapping(value="/css/bootstrap-{bootstrap-version}/{theme}")
public org.springframework.http.ResponseEntity getThemeCss(@PathVariable(value="bootstrap-version")
String bootstrapVersion,
@PathVariable(value="theme")
String theme,
javax.servlet.http.HttpServletResponse response)
throws MolgenisStyleException
MolgenisStyleException@ResponseBody
@ResponseStatus(value=NOT_FOUND)
@ExceptionHandler(value={MolgenisStyleException.class,java.io.IOException.class})
public ErrorMessageResponse handleStyleException(Exception e)
Copyright © 2017. All rights reserved.