public class UserSettingsResource extends AbstractJaxRSResource
acceptableMediaTypes, httpServletRequest, httpServletResponse, TEXT_HTML
Constructor and Description |
---|
UserSettingsResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getUserSetting(String setting)
Retrieve a particular user setting for the current user
|
ArrayList<Setting> |
getUserSettings()
Retrieve the global settings and the user settings for the current user
|
javax.ws.rs.core.Response |
setUserSetting(String setting,
String settingValue)
Save the value of a particular setting for the current user.
|
setHttpHeaders
public ArrayList<Setting> getUserSettings()
public javax.ws.rs.core.Response getUserSetting(String setting)
setting
- (Name of the setting)Copyright © 2021 Hitachi Vantara. All rights reserved.