public class ThemeResource extends AbstractJaxRSResource
acceptableMediaTypes, httpServletRequest, httpServletResponse, 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
|
setHttpHeaders
public 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()
Copyright © 2017 Hitachi Vantara. All rights reserved.