public class ThemeResource extends AbstractJaxRSResource
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
logger |
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 © 2021 Hitachi Vantara. All rights reserved.