public class ThemeResource extends AbstractJaxRSResource
TEXT_HTML| Constructor and Description |
|---|
ThemeResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getActiveTheme()
Return the name of the active theme
|
List<Theme> |
getSystemThemes()
List the current supported themes in the platform
|
javax.ws.rs.core.Response |
setTheme(String theme)
Set the current theme to the one provided in this request
|
setHttpHeaderspublic List<Theme> getSystemThemes()
public javax.ws.rs.core.Response setTheme(String theme)
theme - (theme to be changed to)public javax.ws.rs.core.Response getActiveTheme()